Re: [squid-users] Invalid Response: Blank HTTP Reply HDR

From: Chris Robertson <crobertson@dont-contact.us>
Date: Thu, 08 Nov 2007 10:52:27 -0900

Robin wrote:
> Hi,
>
> I have recently setup a squid proxy on centos 4.5 using the default
> package which is 2.5.STABLE14.
>

The standard answer is "Upgrade to a supported version (2.6 Stable16 as
of this writing)". Grab the source and compile, or grab the Fedora SRPM
and rpmbuild (I know that the FC7 SRPM works on CentOS 4, but I haven't
tested FC8's version). Possible alternative below.

> I have some problems with some pages on certain web apps (like
> monster.co.uk) which result in an Invalid Response error page. When I
> go through the logs it seems that the web server is returning a blank
> response header (see below).
>
> Unfortunately the web app providers are unresponsive and refuse to
> make any changes since it is working for the other users. Is there any
> configuration change/ workaround I can apply to allow my users to
> access these sites?
>

Look into the relaxed_http_parser directive in your squid.conf. It
should default to "on", but if it's been changed, this might be the cause.

> Here is the error message, please let me know if I should supply any
> more information.
>
> 2007/11/08 14:42:27| ctx: enter level 0:
> 'http://client.thomasinternational.net/client/Reports_ViewExisting.aspx?~VGVzdFR5cGU9MSY='
> 2007/11/08 14:42:27| httpProcessReplyHeader: key
> '9F7879BB02C18F9C4CD9D7D227286BD6'
> 2007/11/08 14:42:27| GOT HTTP REPLY HDR:
> ---------
>
>
> ----------
> 2007/11/08 14:42:27| cleaning hdr: 0x8f9e458 owner: 2
> 2007/11/08 14:42:27| init-ing hdr: 0x8f9e458 owner: 2
> 2007/11/08 14:42:27| 0x8f9e458 lookup for 38
> 2007/11/08 14:42:27| 0x8f9e458 lookup for 9
> 2007/11/08 14:42:27| 0x8f9e458 lookup for 22
> 2007/11/08 14:42:27| cleaning hdr: 0x8f9e458 owner: 2
> 2007/11/08 14:42:27| init-ing hdr: 0x8f9e458 owner: 2
> 2007/11/08 14:42:27| 0x8f9e458 lookup for 38
> 2007/11/08 14:42:27| 0x8f9e458 lookup for 9
> 2007/11/08 14:42:27| 0x8f9e458 lookup for 22
> 2007/11/08 14:42:27| httpProcessReplyHeader: Non-HTTP-compliant header: '
> '
> 2007/11/08 14:42:27| ctx: exit level 0
>
> Any information/help/advice greatfully received.
>
> Thanks,
>
> Robin
>

Chris
Received on Thu Nov 08 2007 - 12:52:34 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST