World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Graham 31-Dec-2008 [3631] | oops ... >> do %cheyenne.r Script: "Cheyenne Web Server" (19-Feb-2008) ** Script Error: NT-service? has no value ** Where: boot ** Near: if all [NT-service? not flag? 'service] [set-flag 'tray-only] >> |
Dockimbel 31-Dec-2008 [3632] | Did you applied some TCP networking tweaks on your Vista box to improve network latency? |
Graham 31-Dec-2008 [3633x2] | nope |
REBOL/View 2.7.6.3.1 14-Mar-2008 Copyright 2000-2008 REBOL Technologies. All rights reserved. REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM >> do %cheyenne.r make object! [ code: 303 type: 'script id: 'expect-arg arg1: 'context arg2: 'blk arg3: [block!] near: [extension-class: context list] where: func [/local list][ list: extract phases 2 forall list [change list to-set-word list/1] repend list [to-set-word 'service none] extension-class: context list ] ] >> | |
Dockimbel 31-Dec-2008 [3635] | Yes, old bug of 0.9.18 with REBOL 2.7.6. |
BrianH 31-Dec-2008 [3636] | Doc, do you have a time planned for the public release of 0.9.19? |
Dockimbel 31-Dec-2008 [3637x4] | Either use an older REBOL core or apply the following patch to Cheyenne : http://www.digicamsoft.com/cgi-bin/rebelBB.cgi?thread=<9May2008113928682359200> |
BrianH: I should have released it a month ago, but some issues with RSP showed up and I like to fix them before releasing officially the new version. | |
I ['d] like... | |
Basically, some errors are not reported or (not catched?) during RSP execution. I want to clean up the RSP logging code to output all errors to a log file. | |
Graham 31-Dec-2008 [3641x3] | with no changes, Cheyenne no longer shuts down using the source version |
using 2.6.2 | |
Does that help? | |
Dockimbel 31-Dec-2008 [3644] | Well, it seems to show that something changed between 2.6.2 and 2.7.6. I'm writing a short test server to see if it can be reproduced with a short block of code. |
Graham 31-Dec-2008 [3645x2] | what is the current version of cheyenne encapped with? |
2.7.6 ? | |
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 | |
older newer | first last |