squid uses HTTP/1.0 ?

From: Charles Bruneteau <charles.bruneteau.sysicom@dont-contact.us>
Date: Fri, 10 Sep 1999 10:56:39 +0200

hi,

some pages on a Netscape Enterprise 3.0 are configured to be cached 1 day :

 # telnet webserver 80
 ...
 HEAD /cadences/file.xls HTTP/1.1
 host: webserver

        HTTP/1.1 200 OK
        Server: Netscape-Enterprise/3.0K
        Date: Fri, 10 Sep 1999 08:33:32 GMT
        Cache-control: "max-age=86400"
        Content-type: application/x-excel
        Etag: "76b90-4600-37d75390"
        Last-modified: Thu, 09 Sep 1999 06:28:32 GMT
        Content-length: 17920
        Accept-ranges: bytes

However our squid proxies (2.2s4) keep answering with object from their cache which are older than 1 day :

 # telnet squidproxy 3333
 HEAD http://webserver/cadences/file.xls HTTP/1.1

        HTTP/1.0 200 OK
        Server: Netscape-Enterprise/3.0K
        Date: Thu, 09 Sep 1999 05:35:09 GMT
        Content-Type: application/x-excel
        Last-Modified: Thu, 11 Mar 1999 08:05:42 GMT
        Content-Length: 69632
        Accept-Ranges: bytes
        Age: 92880
        X-Cache: HIT from squidproxy
        Proxy-Connection: keep-alive

92880 > 86400, isn't it ?

i was surprised to see HTTP/1.0 in the last header. Therefore i tried several requests, and it seems that, even if squid receive a HTTP/1.1 request, it uses HTTP/1.0 with the Netscape server (which uses HTTP/1.1) !!!

And when the Netscape server gets a HTTP/1.0 request, it doesn't respond with the "Cache-control" directive; this sounds natural.

So what's wrong with this ? Does squid only use HTTP/1.0 ? Do i have a bad negociation between squid and Netscape ?

Thanks

Charles Bruneteau
Received on Fri Sep 10 1999 - 03:11:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:23 MST