Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 163595 - Squid blocks page served by broken server
Summary: Squid blocks page served by broken server
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: squid
Version: 3.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
Depends On:
Blocks: 168424 170399
TreeView+ depends on / blocked
Reported: 2005-07-19 11:24 UTC by Simon Matter
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHSA-2006-0045
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-03-15 15:42:36 UTC
Target Upstream Version:

Attachments (Terms of Use)
Update spec file which includes backported relaxed_header_parser patch (deleted)
2005-07-19 11:28 UTC, Simon Matter
no flags Details | Diff
squid-2.5.STABLE8-relaxed_header_parser.patch backported to STABLE3 (deleted)
2005-07-19 11:30 UTC, Simon Matter
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0045 qe-ready SHIPPED_LIVE Moderate: squid security update 2006-03-15 05:00:00 UTC

Description Simon Matter 2005-07-19 11:24:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

Description of problem:
Recent Squid updates introduced a new stricter handling of HTTP level protocoll errors which results in many broken sites being closed out. While in fact those sites are broken, the squid developers realized that the changes made were too strict and released the relaxed_header_parser patch in squid-2.5.STABLE8 to make things work again in most situations.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. check a broken site like

Actual Results:  squid reports this in /var/log/squid/cache.log:
2005/07/19 12:43:38| ctx: enter level  0: ''
2005/07/19 12:43:38| WARNING: unparseable HTTP header field near {HTTP/1.0 200 OK
Content-type: text/html
2005/07/19 12:48:18| ctx: exit level  0

Of course, the page does not load in the client browser.

Expected Results:  An error should go to /var/log/squid/cache.log but in this case the page should load fine in the client browser anyway.

Additional info:

I have built my own squid rpm with a backported patch of for new. I strongly suggest that this patch is included into the next update.
I'll attach the files.

Comment 1 Simon Matter 2005-07-19 11:28:35 UTC
Created attachment 116923 [details]
Update spec file which includes backported relaxed_header_parser patch

Comment 2 Simon Matter 2005-07-19 11:30:10 UTC
Created attachment 116924 [details]
squid-2.5.STABLE8-relaxed_header_parser.patch backported to STABLE3

Comment 3 Pasi Sjöholm 2005-08-30 09:12:41 UTC
This bug also exists in RHEL 4, so please fix it. =)

Comment 4 Simon Matter 2005-08-30 09:19:14 UTC
You are right, I have also built my own patched RHEL 4 squid package. However, I
really expect this fix in the next official squid rpms.

Comment 5 Martin Stransky 2005-08-30 09:23:13 UTC
It's planned for the next update.

Comment 8 Martin Stransky 2005-11-15 12:26:54 UTC
The new release-candidate packages for RHEL3/4 are available here:

Comment 9 Simon Matter 2005-12-06 06:35:24 UTC
I have tested the RC2 package and it seems to work fine, thanks.

Comment 13 Red Hat Bugzilla 2006-03-15 15:42:36 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.