RE: [squid-users] squid closing connections

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 19 Feb 2003 16:34:31 +0100

ons 2003-02-19 klockan 16.14 skrev Bilal:

> If Squid closes the connection based on the user request, is it based on
> the proxy connection header field.
> How common is it for Squid to close connection based on data in the
> request header?

Never due to the request header, but very often due to the reply not
being compatible with persistent connections and requiring the
connection to be closed to signal the end of the reply..

> > Yes and no. HTTP is ontop of TCP which includes a final message when a
> connetion is closed (FIN).
> > HTTP in iself does not have a close message when closing idle
> connections.
>
> Does squid always send a FIN message to the other end of the socket
> connection when it closes a connection?

Squid uses TCP. TCP always sends a FIN when the application closes the
connection. (or RST in a few corner cases not very important for this
discussion)

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Wed Feb 19 2003 - 08:34:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:29 MST