Re: [squid-users] keep-alive and MSIE

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 19 Apr 2001 09:15:50 +0200

mi@aldan.algebra.com wrote:
>
> How can we tell squid to NOT honor the keep-alive settings for certain
> browsers (*MSIE*) -- like Apache does?

Unfortunately you have to edit the source at this time to selectively
disable persistent connections. See httpMsgIsPersistent() in HttpMsg.c

A workaround is to fully disable client side persistent connections. See
client_persistent_connections in squid.conf.

> If the browser is talking to our server directly, we can just close the
> socket after we are done, but if the connection comes through squid, we
> see the Proxy-Connection header (instead of Connection) and our closing
> of the socket just upsets squid, while not working around the MSIE's
> problems...

Please make sure you also send a "Connection: close" header to Squid.
But this won't change how Squid manages the client connection thou.

Do you have a reference on which problems MSIE browser versions have
with persistent connections?

--
Henrik Nordstrom
Squid Hacker, http://www.marasystems.com/
Received on Thu Apr 19 2001 - 01:21:40 MDT

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