Re: Prohibiting persistent connections for some hosts

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 27 Aug 1998 14:03:59 -0600

"Stephen R. van den Berg" writes:

>Is there currently some mechanism to force an early close on
>persistent connections to certain hosts?
>
>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.
>Since squid tries to use a persistent connection, the cgi program hangs
>on for a while, then gives up in disgust and displays a timeout error message.
>
>I could reduce the pconn_timeout setting, but that reduces the efficiency
>of persistent connections.

Altering pconn_timeout won't help. That timeout is for IDLE (no requests or
replies in progress) connections only.

There is no mechanism to force close at end-of-request for certain hosts.

Duane W.
Received on Thu Aug 27 1998 - 13:05:07 MDT

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