Re: Strange Squid problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 7 Mar 2005 16:26:58 +0100 (CET)

On Tue, 8 Mar 2005, Reuben Farrelly wrote:

> Through proxy:
>
> Firefox (works):
> 1110198604.017 10745 192.168.0.6 TCP_MISS/200 4064 GET
> http://www.manageddesigns.it/ - DIRECT/217.29.163.47 text/html [Host:
> www.manageddesigns.it\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1;
> en-US; rv:1.8b2) Gecko/20050303 Firefox/1.0+\r\nAccept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language:
> en-us,en;q=0.7,en-nz;q=0.3\r\nAccept-Encoding:
> gzip,deflate\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive:
> 300\r\nProxy-Connection: keep-alive\r\nCookie:
> ASP.NET_SessionId=2uiuab55ylyr1wqqptk1wo2p\r\nCache-Control: max-age=0\r\n]
> [HTTP/1.1 200 OK\r\nCache-Control: private\r\nConnection: keep-alive\r\nDate:
> Mon, 07 Mar 2005 12:29:57 GMT\r\nTransfer-Encoding: chunked\r\nContent-Type:
> text/html; charset=utf-8\r\nContent-Encoding: gzip\r\nVary:
> Accept-Encoding\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By:
> ASP.NET\r\nX-AspNet-Version: 1.1.4322\r\n\r]

Ugh.. this is a seriously broken server.

   Transfer-Encoding: chunked

in response to a HTTP/1.0 request (squid is HTTP/1.0) is a big NO NO NO.

>
> IE6 (fails):
> 1110198693.842 906 192.168.0.6 TCP_MISS/200 350 GET
> http://www.manageddesigns.it/ - DIRECT/217.29.163.47 text/html [Accept:
> image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
> application/x-shockwave-flash, application/x-icq, */*\r\nAccept-Language:
> en-nz\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0
> (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\nHost:
> www.manageddesigns.it\r\nProxy-Connection: Keep-Alive\r\nCookie:
> ASP.NET_SessionId=5p2c2m55zbknljzsquldmvjk\r\n] [HTTP/1.1 200
> OK\r\nCache-Control: private\r\nConnection: keep-alive\r\nDate: Mon, 07 Mar
> 2005 12:31:37 GMT\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html;
> charset=utf-8\r\nContent-Encoding: gzip\r\nVary: Accept-Encoding\r\nServer:
> Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nX-AspNet-Version:
> 1.1.4322\r\n\r]

same error here... but at least it's consistent.

Try

header_access Accept-Encoding deny all

maybe this works around the server bug.

(note: Accept-Encoding doesn't really have anything to do with
Transfer-Encoding, but...)

> Connecting to www.manageddesigns.it[217.29.163.47]:80... connected.
> HTTP request sent, awaiting response...
> 1 HTTP/1.1 200 OK
> 2 Connection: keep-alive
> 3 Date: Mon, 07 Mar 2005 12:37:49 GMT
> 4 Server: Microsoft-IIS/6.0
> 5 X-Powered-By: ASP.NET
> 6 X-AspNet-Version: 1.1.4322
> 7 Set-Cookie: ASP.NET_SessionId=qme2grbgrs3hki453xbocmjd; path=/
> 8 Cache-Control: private
> 9 Content-Type: text/html; charset=utf-8
> 10 Content-Length: 11931

Not resembling any of the above two replies..

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=windows-1252"></HEAD>
> <BODY></BODY></HTML>

Not sure this at all is the content returned.. but will know more shortly.

Regards
Henrik
Received on Mon Mar 07 2005 - 08:27:01 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:04 MST