World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Dockimbel 31-Dec-2008 [3647x3] | 2.7.5 |
Ok, try this : paste the following code in a fresh console (2.7.6) and try to reproduce the error : s: open/binary/direct/no-wait tcp://:8003 append system/ports/wait-list s s/async-modes: 'accept s/awake: func [server-port /local err new][ either error? err: try [ new: first server-port ][ err: disarm err if err/code <> 517 [?? err] false ][ insert tail system/ports/wait-list new new/async-modes: [read] new/awake: func [port][ print "event received" probe copy port false ] set-modes new [no-delay: on] false ] ] set-modes s [no-delay: on] wait [ ] | |
Test with : p: open/direct tcp://127.0.0.1:8003 close p | |
Graham 31-Dec-2008 [3650] | goes into an endless loop |
BrianH 31-Dec-2008 [3651] | Does Cheyenne use the EXTRACT function? A bug with EXTRACT with binaries slipped into 2.7.6. DevBase has a fix. |
Graham 31-Dec-2008 [3652] | event received none event received none event received none event received none event received none event received none event received none event received none event received none event received |
Dockimbel 31-Dec-2008 [3653x2] | BrianH: yes, that's related to EXTRACT but not with binaries, it's a side effect of EXTRACT with hash! values. |
Graham: does the test line output an error? | |
Graham 31-Dec-2008 [3655] | no |
Dockimbel 31-Dec-2008 [3656] | mmm...if it's really related to some precise timing, it will be hard to track. |
Graham 31-Dec-2008 [3657x2] | >> wait [ ] ** Script Error: Invalid argument: true ** Near: set-modes new [no-delay: on] false |
just tried it again | |
Dockimbel 31-Dec-2008 [3659] | Ok, so we can now fill a nice RAMBO ticket, with an example code :-) |
Graham 31-Dec-2008 [3660] | Only Vista? |
Dockimbel 31-Dec-2008 [3661] | It seems so. Never saw that on XP. |
Graham 31-Dec-2008 [3662] | correction, only Graham's laptop running Vista? |
Dockimbel 31-Dec-2008 [3663] | Well, you can even send your laptop to Carl if that helps him fix that :-) |
Graham 31-Dec-2008 [3664x3] | haha |
so, this doesn't go into curecode ? | |
or is Rambo being kept for R2 stuff | |
Dockimbel 31-Dec-2008 [3667] | Nope, R2=>RAMBO, as far as I know. |
BrianH 31-Dec-2008 [3668] | If you run into any mezzanine bugs in 2.7.6+, please bug me about them too, I'll fix them :) |
Dockimbel 31-Dec-2008 [3669] | Anyway, I'll remove the 'no-delay mode from Cheyenne in 0.9.19 when running on Windows. |
Graham 31-Dec-2008 [3670] | Don't suppose anyone else is running Vista who can test this too ... |
BrianH 31-Dec-2008 [3671] | What is the no-delay mode? |
Graham 31-Dec-2008 [3672] | I'd like to keep my laptop here. |
Dockimbel 31-Dec-2008 [3673x2] | No-delay mode: control of the Nagle algorithm in TCP layer. |
It's documented here : http://www.rebol.com/docs/core25.html#sect1.2.3. | |
BrianH 31-Dec-2008 [3675x2] | That sounds interesting. I look forward to reading the source for that :) |
(in Cheyenne I mean) | |
Graham 31-Dec-2008 [3677] | so, no-delay = true, nagle is operational? |
BrianH 31-Dec-2008 [3678] | That would be no-delay = false. |
Dockimbel 31-Dec-2008 [3679x2] | I'll say the opposite. |
Right, no-delay = false => nagle in use | |
Will 31-Dec-2008 [3681] | BrianH: do you have a list of patches to apply to R2.7.6 ? |
Dockimbel 31-Dec-2008 [3682x3] | I've just put the [web-public] flag back. |
BrianH: about EXTRACT, there's no bug in 2.7.6 I'm aware of, it causes a regression on Cheyenne only because the old EXTRACT was wrongly returning a block! value when taking a hash! value as input. | |
That regression is fixed in Cheyenne 0.9.19. | |
BrianH 31-Dec-2008 [3685x2] | I will be maintaining a patch script for 2.7.6, though it is not yet online. All of the patches are in DevBase for now. |
No patch-in-place though - replacement functions. | |
Graham 5-Jan-2009 [3687] | doc, were you going to rambo this 'no-delay issue? |
Dockimbel 5-Jan-2009 [3688x2] | I thought that you would do that just before sending your laptop to Carl. ;-) |
I'll fill a new ticket right now. | |
Graham 5-Jan-2009 [3690] | Is this going to affect Cheyenne much? It's not as though cheyenne would be sending lots of small packets to clients anyway. |
Dockimbel 5-Jan-2009 [3691] | I think that the performance difference won't be noticeable. |
Graham 5-Jan-2009 [3692] | In the meantime I can use this way to shut down Cheyenne locally when my program exits :) |
Dockimbel 5-Jan-2009 [3693] | What Vista version are you using? SP1? |
Graham 5-Jan-2009 [3694x2] | No SP installed ... no room on my hard drive to install :( |
Gosh ... rambo is full of spam submissions. | |
Dockimbel 5-Jan-2009 [3696] | You should ping Gabriele about that. |
older newer | first last |