On Thu, 30 Jun 2005, squid squid wrote:
> 2005/06/27 14:54:20| ctx: enter level 0:
> 'http://app.internal.com./cyberdocs/Libraries/Common/viewdocact.asp?
> doc=10763&lib=EPASLIB&file=.pdf&Frameset=Created&rendition=native'
> 2005/06/27 14:54:20| WARNING: found two conflicting content-length
headers
> in {Date: Mon, 27 Jun 2005 06:57:14 GMT
> Connection: keep-alive
> Content-Length: 712267
^^^^^^
> Content-Disposition: inline;filename=HUMANRESOURCE TRANSFORMATION.PDF
> Accept-Ranges: bytes
> Connection: Keep-Alive
> Content-Length: 128001
^^^^^^
> Content-Type: application/pdf
> Expires: Mon, 31 Dec 1990 16:00:00 GMT
> Cache-control: private
> }
Is there any way to solve the said error from squid end??? If no, any idea
how can this error be resolved from the webserver end??? I do not have
accessed to the said webserver and would need to relay the resolution to the
administrator of the webserver.
They need to fix the web server to send a single correct content-length
header. Not two indicating different sizes of the same response.
There is a patch to Squid to ignore this web server error if you do
not care:
http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE10-content_length
Regards
Henrik