Re: Prohibiting persistent connections for some hosts

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 29 Aug 1998 00:55:19 +0200

Stephen R. van den Berg wrote:
>
> Is there currently some mechanism to force an early close on
> persistent connections to certain hosts?

Why would you like to do that?

> I've noticed a server which accepts a POST request into a cgi program,
> but then forgets to use the Content-Length field, and probably simply
> waits until the socket is closed to feed an EOF to the program.

Don't think so. The difference between a persistent and a non-persistent
connection is that the SERVER closes a non-persistent connection when
the last byte of the reply is sent. The client does not close the
connection after a POST request, it always waits for the server to send
a reply first (except a few rare clients that use half-pipe closes,
which is a ugly thing to do).

---
Henrik Nordström
Sparetime Squid Hacker
Received on Fri Aug 28 1998 - 20:35:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:46 MST