i have install the squid-head version 2.HEAD-20070411,and http11 patch.

but the question is: the request use http-1.1, but the response use http-1.0.


i use the following directs( others is the default):
http_port 80 transparent
cache_vary on
server_http11 on
detect_broken_pconn on
request_entities on

by the way: if i write http_port with option of http11(http_port 80
transparent http11), i get a error when restart the squid: FATAL:
Bungled squid.conf line 97: http_port 80 transparent http11.

following are the request and response http headers:
(Request-Line)  GET / HTTP/1.1
Accept  */*
Accept-Encoding gzip, deflate
Accept-Language zh-cn
Connection      Keep-Alive
Cookie  
WT_FPC=id=26191a2d324ebd7ca751176346470578:lv=1176346470578:ss=1176346470578
Host    www.mydomain.com
User-Agent      Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)



(Status-Line)   HTTP/1.0 200 OK
Accept-Ranges   bytes
Cache-Control   max-age=60
Content-Length  219502
Content-Location        http://www.mydomain.com/index.htm
Content-Type    text/html
Date    Thu, 12 Apr 2007 03:45:49 GMT
ETag    "6269eafeb47cc71:688"
Last-Modified   Thu, 12 Apr 2007 03:45:21 GMT
Server  Microsoft-IIS/6.0
Via     1.0 test:80 (squid/2.HEAD-20070411)
X-Cache MISS from test
X-Powered-By    ASP.NET


2007/4/6, Henrik Nordstrom <[EMAIL PROTECTED]>:
fre 2007-04-06 klockan 12:49 +0800 skrev Felix New:

IIS requires HTTP/1.1 to do dynamic gzip encoding. Thats what started
the http11 branch.. (a customer using Squid as reverse proxy infront of
IIS).

Regards
Henrik




--
Best regards
Felix New

Reply via email to