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 <[EMAIL PROTECTED]> MARA Systems AB, Sweden
