Re: CFSocket freezes
Re: CFSocket freezes
- Subject: Re: CFSocket freezes
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 27 Nov 2005 22:25:02 -0500
Hi Chilton - I believe that because the CocoaHTTPServer example is
strictly a "HTTP 1.1" example, it's following the convention that in
HTTP 1.1 all connections should be kept open (keep-alive) by default
unless explicitly set otherwise.
I think you've identified another bug in the example, however,
because in my very trivial test just now, I did not see a severed
connection when I explicitly included the "Connection: close" header
in my telnet-based GET request.
Daniel
On Nov 27, 2005, at 9:43 PM, Chilton Webb wrote:
It appears the problem is that the server is not closing the
connection. Telnetting into the server shows that after it replies,
it does not close the connection. Most (if not all) http servers do
close the connection, immediately after sending the reply. Does
anyone know why it's not doing this in the Cocoa example?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden