>From the HTTP/1.1 spec:

  Servers SHOULD NOT close a connection in the
  middle of transmitting a response, unless a network or client failure
  is suspected.

But on the other hand:

  When a client or server wishes to time-out it SHOULD issue a graceful
  close on the transport connection. Clients and servers SHOULD both
  constantly watch for the other side of the transport close, and
  respond to it as appropriate. If a client or server does not detect
  the other side's close promptly it could cause unnecessary resource
  drain on the network.

So HTTP seems to contradict itself, typically But from looking at
other peoples responses, most interpret the specification that the
connection should immediately be closed, so the Zope does the right
thing there, and Varnish should be changed. This is apparently the
generally accepted interpretation.

Lennart Regebro: Python, Zope, Plone, Grok
+33 661 58 14 64
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to