hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laura Werner <la...@lwerner.org>
Subject Re: Proxy-Connection: close header
Date Thu, 20 Feb 2003 01:00:48 GMT
Adrian Sutton wrote:

>Do you have any idea how to make squid use that header?
>
I don't think we're doing anything special to make it happen.  Here are 
the headers from a couple of typical transaction, with a few host names 
slightly obscured.  This is using my own Java-based caching code on top 
of httpclient alpha 1.  (I'm starting to upgrade to the latest version now).

Try to fetch a resource from a machine the Squid proxy doesn't have 
access to:
16:49:30:311
HTTP request headers for jack.vxml:
    Host: privatemachine.bevocal.com
    User-Agent: BeVocal/2.4 VoiceXML/2.0 BVPlatform/1.8.0.6
16:49:30:326
HTTP response headers for jack.vxml:
    HTTP/1.0 503 Service Unavailable
    Proxy-Connection: close
    Expires: Thu, 20 Feb 2003 00:49:31 GMT
    Date: Thu, 20 Feb 2003 00:49:31 GMT
    Server: squid/2.5.STABLE1
    Content-Length: 1285
    X-Squid-Error: ERR_DNS_FAIL 0
    Content-Type: text/html
    X-Cache: MISS from proxy01.xxxxx.bevocal.com
    Mime-Version: 1.0

Fetch from a resource it *does* have access to....
16:51:52:537
HTTP request headers for jack.vxml:
    Host: www.somewhere.com
    User-Agent: BeVocal/2.4 VoiceXML/2.0 BVPlatform/1.8.0.6

16:51:52:662
HTTP response headers for jack.vxml:
    HTTP/1.0 200 OK
    Proxy-Connection: close
    Accept-Ranges: bytes
    Date: Thu, 20 Feb 2003 00:47:55 GMT
    Server: Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 
mod_perl/1.24_01 PHP/4.2.2 FrontPage/5.0.2 mod_ssl/2.8.5 OpenSSL/0.9.6b
    Content-Length: 14853
    ETag: "19f7e5-3a05-3e3b1965"
    Last-Modified: Sat, 01 Feb 2003 00:48:37 GMT
    Content-Type: text/plain
    X-Cache: MISS from proxy01.xxxxx.bevocal.com

Fetch the same resource again a minute or two later...
16:56:31:115
HTTP request headers for jack.vxml:
    Host: www.zenstarstudio.com
    User-Agent: BeVocal/2.4 VoiceXML/2.0 BVPlatform/1.8.0.6

16:56:31:115
HTTP response headers for jack.vxml:
    HTTP/1.0 200 OK
    Proxy-Connection: close
    Accept-Ranges: bytes
    Date: Thu, 20 Feb 2003 00:47:55 GMT
    Server: Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 
mod_perl/1.24_01 PHP/4.2.2 FrontPage/5.0.2 mod_ssl/2.8.5 OpenSSL/0.9.6b
    Content-Length: 14853
    ETag: "19f7e5-3a05-3e3b1965"
    Last-Modified: Sat, 01 Feb 2003 00:48:37 GMT
    Age: 517
    Content-Type: text/plain
    X-Cache: HIT from from proxy01.xxxxx.bevocal.com


	

	



Mime
View raw message