Date: Tue, 21 Sep 2004 09:41:27 +0200 (CEST) From: Kenneth Vestergaard Schmidt <kvs@pil.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71961: [patch] Patch for keepalive-bug included in www/apache13 not in www/apache13-modssl Message-ID: <20040921074127.F337217748@hoegaarden.pil.dk> Resent-Message-ID: <200409210750.i8L7oPER010370@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040921074127.F337217748>