• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFSocket freezes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >CFSocket freezes (From: Frank Illenberger <email@hidden>)
 >Re: CFSocket freezes (From: Felix Schwarz <email@hidden>)
 >Re: CFSocket freezes (From: Uli Kusterer <email@hidden>)
 >Re: CFSocket freezes (From: Chilton Webb <email@hidden>)
 >Re: CFSocket freezes (From: Daniel Jalkut <email@hidden>)
 >Re: CFSocket freezes (From: Chilton Webb <email@hidden>)

  • Prev by Date: Finding the user's processor type...
  • Next by Date: Tree Data Structure in objc-C?
  • Previous by thread: Re: CFSocket freezes
  • Next by thread: Re: CFSocket freezes [solved]
  • Index(es):
    • Date
    • Thread