[squid-users] "Proxy-connection: close" in apache/tomcat

From: Wu Jiafu <[email protected]>
Date: Mon, 16 Aug 2004 16:50:38 +0800

Hi,

in my testing env:

application -> squid -> apache/tomcat

and i traced that the squid(version 2.5.x) always CLOSED the connection
before the http body data was sent to client(only the http header was sent)
the log of the application shows "Proxy-connection: close"

if i use netscape proxy instead of squid, everything is ok.

it seems that it's "keep alive" issue. while many guys, who are using
tomcat, asked this issue in squid maillist, but most replies were "it should
work withou problem"

here are some links in the maillist other than squid
http://lists.w3.org/Archives/Public/ietf-http-wg/2002OctDec/0028.html
http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg18479.html

my tracing log of the application with squid :

Time: 11:13:51.768 2004.08.04
Class: com.ibm.mq.ipt.ConnectionThread
Method: getHTTPHeader
Thread ID: ConnThd for Route 1415-1
Logger: TraceLogger 1415
  /1.0 200 OK
Set-cookie: JSESSIONID=C20E015A76C643AE59F54C3DB7C3A6CD; Path=/MQIPTServlet
Cache-control: no-cache, no-transform
Content-type: application/octet-stream
Content-length: 132
Date: Wed, 04 Aug 2004 03:13:58 GMT
Server: Apache-Coyote/1.1
X-cache: MISS from squid.my.com
X-cache-lookup: MISS from squid.my.com:8080
Proxy-connection: close

tracing log with netscape proxy:

Time: 13:48:43.003 2004.08.04
Class: com.ibm.mq.ipt.ConnectionThread
Method: getHTTPHeader
Thread ID: ConnThd for Route 1415-0
Logger: TraceLogger 1415
  /1.1 200 OK
Cache-control: no-cache, no-transform
Content-type: application/octet-stream
Content-length: 132
Date: Wed, 04 Aug 2004 05:48:49 GMT
Server: Apache-Coyote/1.1

thanks a lot for any information

best regards

Jeff
Received on Mon Aug 16 2004 - 02:50:47 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT