You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/07/27 00:02:46 UTC

DO NOT REPLY [Bug 21348] - windowsupdate-site over proxy failed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21348>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21348

windowsupdate-site over proxy failed





------- Additional Comments From cvig@raw-io.com  2003-07-26 22:02 -------
Same problem here using various Windows versions (XP, 2000, 98 SE) behind a
Windows 2000 machine running Apache 2.0.46 (Win32). A patch was posted on the
dev mailing list back on March 24, 2003. The patch fixes this issue which occurs
because:

"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."

URL:
<http://www.mail-archive.com/dev@httpd.apache.org/msg16088.html>
Patch:
<http://www.mail-archive.com/dev@httpd.apache.org/msg16088/windows-update.diff>

I would apply the patch myself but I do not have the compiler required for the
Win32 build of Apache.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org