Re: Persistent Connections

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Wed, 27 Oct 1999 09:18:30 -0600 (MDT)

On Wed, 27 Oct 1999, Steve Gailey wrote:

> When a client makes a persistent connection to Squid, will it be
> permitted to request URL's from different servers or will it be limited
> to any one server.

The client can use a single connection to a proxy to get resources from
multiple servers.

> I realize that they are unlikely to do this as without a proxy in the
> loop they would go direct to the server in question, but it seems
> possible that a proxy aware browser could behave in this way. The

If explicitly configured to use a proxy (i.e. no TCP hijacking or
transparent proxying), real browsers are smart enough to re-use
persistent connections regardless of the resource origin. For more
information, take a look at
        http://www.cs.wisc.edu/~cao/papers/persistent-connection.html

> HTTP/1.0 spec doesn't make clear if this is permitted or not.

AFAIK, HTTP/1.0 does not regulate persistent connections; HTTP/1.1 does.

Alex.
Received on Wed Oct 27 1999 - 09:32:49 MDT

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