ports/62610: patch to let Apache2 proxy work correctly with windowsupdate.com
leafy
leafy at leafy.idv.tw
Tue Feb 10 02:40:13 UTC 2004
>Number: 62610
>Category: ports
>Synopsis: patch to let Apache2 proxy work correctly with windowsupdate.com
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 09 18:40:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: leafy
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
personal
>Environment:
System: FreeBSD chihiro.leafy.idv.tw 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Mon Feb 9 08:59:20 CST 2004 leafy at chihiro.leafy.idv.tw:/usr/obj/usr/src/sys/CHIHIRO i386
>Description:
default apache2 installation with proxy will not be able to access
windowsupdate.com successfully
>How-To-Repeat:
enable proxy in apache2 and access www.windowsupdate.com
>Fix:
--- server/protocol.c.orig Wed Sep 10 20:13:51 2003
+++ server/protocol.c Wed Feb 4 11:50:49 2004
@@ -1255,7 +1255,7 @@
* We can only set a C-L in the response header if we haven't already
* sent any buckets on to the next output filter for this request.
*/
- if (ctx->data_sent == 0 && eos) {
+ if (ctx->data_sent == 0 && eos && !r->header_only) {
ap_set_content_length(r, r->bytes_sent);
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list