Red Hat Bugzilla – Bug 110552
mod_proxy breaks windowsupdate.microsoft.com
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5)
Description of problem:
This is the httpd bug from
"Apache2 proxy seems to drop Content-Length header from replies to
HEAD requests. This is very bad for Microsoft's Windows Update system
(and against HTTP spec). The problem is caused by CONTENT_LENGTH
output filter setting Content-Length header to zero because there is
no body data. Later on Apache removes Content-Length header if it has
value 0. The attached patch fixes the problem in CONTENT_LENGTH output
filter by preventing it from modifying the content length of a reply
to HEAD request. The attached patch is against HEAD of
APACHE_2_0_BRANCH as of this morning."
I backported the patch listed in the diff as a part of my own RPM and
rebuilt it. It works as expected then.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Load up httpd with the proxy enabled. Go to
Windowsupdate.microsoft.com. Watch it error out with error
#0x80072f76. Rebuild with the above patch and it will work fine.
This should be fixed in 2.0.48 - can you try the 2.0.48 updates?
I first pulled the httpd-2.0.48-1.2 RPM from
and tried it unpatched and it doesn't work. When that happened, I got
the SRPM and the patch I referenced from CVS did not make it in to
protocol.c. After adding it, it worked just like 2.0.47 did. But
2.0.48 is still broken in this regard by default.
Fedora Core 1 is maintained by the Fedora Legacy project for security updates
only. If this problem is a security issue, please reopen and reassign to the
Fedora Legacy product. If it is not a security issue and hasn't been resolved in
the current FC5 updates or in the FC6 test release, reopen and change the
version to match.
NOTE: Fedora Core 1 is reaching the final end of support even by the Legacy
project. After Fedora Core 6 Test 2 is released (currently scheduled for July
26th), there will be no more security updates for FC1. Please use these next two
weeks to upgrade any remaining FC1 systems to a current release.
Closing per lack of response to the previous comment. Note that FC1 and FC2 are
no longer supported even by Fedora Legacy. If this bug still occurs on FC3 or
FC4, please assign to that version and Fedora Legacy. If it still occurs on FC5
or FC6, please reopen and assign to the correct version.