ports/71961: [patch] Patch for keepalive-bug included in www/apache13 not in www/apache13-modssl
Kenneth Vestergaard Schmidt
kvs at pil.dk
Tue Sep 21 07:50:26 UTC 2004
>Number: 71961
>Category: ports
>Synopsis: [patch] Patch for keepalive-bug included in www/apache13 not in www/apache13-modssl
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 21 07:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Kenneth Vestergaard Schmidt
>Release: FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
pil.dk
>Environment:
System: FreeBSD hoegaarden.pil.dk 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #9: Wed May 26 16:27:59 CEST 2004 root at hoegaarden.pil.dk:/usr/obj/usr/src/sys/HOEGAARDEN i386
>Description:
A known keep-alive bug in Apache was fixed in www/apache13 by including a
patch. This patch is missing from www/apache13-modssl (an probably others).
>How-To-Repeat:
Using davfs2 on Linux to mount an Apache 1.3 + mod_dav repository fails
miserably when trying to get/put files.
>Fix:
Add the attached patch to www/apache13-modssl/files, or just copy the one
in www/apache13/files/patch-http_request.c.
This change might also be relevant for other apache13-ports.
--- patch-http_request.c begins here ---
--- src/main/http_request.c.bak Wed Apr 28 20:58:42 2004
+++ src/main/http_request.c Mon Jun 14 17:11:06 2004
@@ -1056,7 +1056,7 @@
*/
if ((r->status != HTTP_NOT_MODIFIED) && (r->status != HTTP_NO_CONTENT)
&& !ap_status_drops_connection(r->status)
- && r->connection && (r->connection->keepalive > 0)) {
+ && r->connection && (r->connection->keepalive != -1)) {
(void) ap_discard_request_body(r);
}
--- patch-http_request.c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list