"Gregory, Brad" wrote:
>
> Thanks Henrik--but how does Squid keep two users straight on the response if
> they are going to the server on the same TCP connection from Squid to the
> webserver, are you using the content-length header to figure out the byte
> stream? If so, how do you handle a response that doesn't contain a
> content-length header?
>
> THanks.
Squid is a HTTP server to the client, and a HTTP client to the upstream
server. On both connections the full rules on HTTP message delimiting
and connection management applies (independently).
Squid is HTTP/1.0 which means that responses without a content-length
header is delimited by the server closing the connection. No problem
there.
If the response has a content-length header then this delimits the
message. Also allows Squid to keep persistent connections (again, server
side and client side is independent).
Regards
Henrik
Received on Thu Jan 02 2003 - 13:03:49 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:25 MST