Re: HTTP1.1 Proxy, clients multiple persisent connections

Clients can of course do what they wish so you really need to ask this
question on a Mozilla related list.

Multiple connections may happen when the client discovers that the
existing connection is busy. Probably other logical reasons.

You should also confirm that Mozilla is configured for HTTP/1.1 for
proxies. Could be that you code thinks the connection is open but
Mozilla believes it closed. How long an existing connection continues to
be used is up to the both ends of the connection. I would expect it to be
on the order of 30 seconds of idle time but that is my personal design
style.

Dave Morris

PS. It would be helpful if you configure your mail client to sent the
subject in plain ascii ...

On Wed, 3 Mar 2004, [iso-8859-2] Přemysl Kouřil wrote:

>
> I'am doing HTTP1.1 Proxy and have a question about persistent connections. After reading RFC 2616 I though that client (I use Mozilla 1.5) will maintain persistent connection as long as possible (and will sending requests to this connection as long as possible) but when I set as a proxy my proxy server and send request to fetch some web page, client makes persistent connection between him and proxy, and some requests goes by this connection (as I expected), but for some other requests client wants to make
> new connection between him and proxy (as I dont expected) even though the previous persistent connection between client and proxy is still up (so I think that making new connection is unnecessary because client can send this request by existing connection between him and proxy). My question is why client makes new connections to proxy when another persistent connection between same client and same proxy exists. Thanks
>
> Premysl Kouril
>

Received on Tuesday, 2 March 2004 18:29:52 UTC