-----Original Message----- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED]] Sent: 19 February 2003 14:07 To: Bilal Cc: [EMAIL PROTECTED] Subject: Re: [squid-users] squid closing connections
ons 2003-02-19 klockan 13.34 skrev Bilal: >> Hi, >> When using persistent connections, does Squid close a socket >> connection with the user (browser) after an idle time has elapsed >> (during which, no requests or responses were communicated) or does the >> browser ( in the request header) inform squid to close the socket >> connection? > Both. 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? >> if squid closes a socket connection with the user( browser) after an >> idle time, does it send it a message informing it that it is closing >> the socket? > 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? -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden
