[Zope-dev] Zope closes connection if the client closes the write-end of connection

Lennart Regebro regebro at gmail.com
Fri Oct 16 11:16:26 EDT 2009


2009/10/16 Tres Seaver <tseaver at palladion.com>:
> Hmmm?  A TCP socket corrresponds to exactly one open file descriptor,
> which has to stick around for the response data to come back on.
> "Half-closing" it is just silly, and is only guaranteed to work where
> both ends expect to handle this case.

Half-closing is the standard way of saying "close when you will", so
it's normal TCP-behavior. How many HTTP-servers that handle that I
don't know, but I have to agree that it's probably the right thing to
do.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the Zope-Dev mailing list