[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] WebServer - socket won't close?

From: J Pfersich
Subject: Re: [Help-smalltalk] WebServer - socket won't close?
Date: Sat, 06 Jan 2007 12:45:12 -0700

Try HEAD instead of GET (though I don't think you'll get the same effect).

At 06:07 PM 1/6/2007 +0000, Mike Anderson wrote:

I did this, even though I thought I would get the same result as with
wget. In fact, I don't get any sign of life from the servlet after the
message that tells me that the socket is connected.

Maybe I'll roll back to 2.2x and compare behaviour.


J Pfersich wrote:
> First, set up a servlet that requires no input ( just a straight GET).
> Then crank up your telnet session and type the following
> GET /index.html HTTP/1.1
> Host:
> This is the same thing as You'll substitute
> the page that you're trying to access for the "/index.html" and your
> host name if you're not doing the testing on the box that the webserver
> is running. You should get a dump of the web page on your screen
> followed by the termination of the connection. If you're not getting the
> termination of the telnet session, then you can be sure that the socket
> hasn't been closed by the server.
> At 12:44 AM 1/5/2007 +0000, Mike Anderson wrote:
>> OK, I am stumped.
>> I have a web server set up. It serves a page, via a Servlet; the
>> response goes to the client (wget or firefox), and then the client
>> hangs, presumably expecting the response to end when the connection is
>> closed. However, as far as gst is concerned, the socket has been closed.
>> I have confirmed that the response has gone to the client, and I've
>> confirmed that the socket has been closed by putting debug messages into
>> FileDescriptor >> #close (the return value of the 'fileOp: 1' is 0).
>> Once gst terminates, the client comes back to life, so it seems to me
>> that the socket is not actually getting closed, but I can't work out why.
>> Any help or suggestions would be appreciated.
>> Mike
>> _______________________________________________
>> help-smalltalk mailing list
>> address@hidden
> _______________________________________________
> help-smalltalk mailing list
> address@hidden

help-smalltalk mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]