RE: [squid-users] 2 Content-Length headers

From: Irfan D Prastomo <[email protected]>
Date: Thu, 31 Mar 2005 15:23:02 +0700

dear all,

similiar to below problems, I have access.log came-up with this :

2005/03/31 15:22:43| ctx: enter level 0: 'http://www.conflictanddevelopment.org/Home.php'
2005/03/31 15:22:43| WARNING: found whitespace in HTTP header {File 'c}

on browser came-up this one:

GET /Home.php HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Accept-Language: en-us
Pragma: no-cache
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: www.conflictanddevelopment.org
Proxy-Connection: Keep-Alive

I believed that this is some malprogramed flash or something. If I bypass the squid cache....it went thru normally.
Squid 2.5STABLE9 has new tag to handle this one ? I'm still using stable7-20050405

thank you in advance.

irfan-dp
----<<< Replied Message >>>-----

On 3/31/2005 at 8:32 AM Elsen Marc wrote:

+>>
+>> I've got a site that is required in our business flow that I
+>> can not change:
+>>
+>> HTTP/1.1 200 OK
+>> Server: Microsoft-IIS/5.0
+>> Date: Tue, 29 Mar 2005 19:15:38 GMT
+>> Content-type: image/jpeg
+>> Content-length: 38233
+>> Cache-Control: no-cache
+>> Pragma: no-cache
+>> Expires: 0
+>> Content-Length: 39145
+>>
+>> Squid chokes on the two Content-Length headers:
+>>
+>> 2005/03/29 14:18:20| ctx: enter level 0: 'http://url/'
+>> 2005/03/29 14:18:20| WARNING: found two conflicting
+>> content-length headers
+>> 2005/03/29 14:18:20| ctx: exit level 0
+>>
+>> Any way that I can get squid allow access to content with two
+>> Content-Length
+>> headers?
+>>
+>>
+> - Tell the webmaster to >fix< the webserver or use a webserver
+>which is compliant with http standards. (IIS = Inconflict Incapable Sadly)
+>
+> - 2.5.STABLE9 tries to handle this again. It may work,but squid's not
+>at fault.
+>
+> M.

--->>> Reply End <<<---
Received on Thu Mar 31 2005 - 01:23:10 MST

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