[squeak-dev] Why does this trivial WebServer evocation hang Squeak?
Lawson English
lenglish5 at cox.net
Thu Oct 7 09:18:09 UTC 2010
The following code hangs Squeak. cmd-. doesn't break out of it. The
system window stays somewhat responsive but I can't interupt to see what
happened. I'm redirecting Second Life viewer login to localhost:8081 so
I can see what the current xmlrpc data sent by the SL viewer looks like.
SL viewer reports errors during login, but I managed to inspect
"response" via cmd-i and it looks like there is a 2K buffer in the
WebResponse object. however, "response content inspect" hangs Squeak:
response:= nil.
(WebServer reset default) listenOn: 8081.
WebServer default addService: '/' action:
[:req| response := req.
req send200Response: 'Hello World'
].
"Use Second Life viewer to attempt login at localhost:8081"
response content inspect.
More information about the Squeak-dev
mailing list
|