From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 21 07:50:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 370D716A4D6 for ; Tue, 21 Sep 2004 07:50:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F98E43D48 for ; Tue, 21 Sep 2004 07:50:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8L7oPZi010371 for ; Tue, 21 Sep 2004 07:50:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8L7oPER010370; Tue, 21 Sep 2004 07:50:25 GMT (envelope-from gnats) Resent-Date: Tue, 21 Sep 2004 07:50:25 GMT Resent-Message-Id: <200409210750.i8L7oPER010370@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kenneth Vestergaard Schmidt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E036616A4CE for ; Tue, 21 Sep 2004 07:41:30 +0000 (GMT) Received: from hoegaarden.pil.dk (hoegaarden.pil.dk [83.90.248.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BFCA43D45 for ; Tue, 21 Sep 2004 07:41:30 +0000 (GMT) (envelope-from kvs@hoegaarden.pil.dk) Received: by hoegaarden.pil.dk (Postfix, from userid 1020) id F337217748; Tue, 21 Sep 2004 09:41:27 +0200 (CEST) Message-Id: <20040921074127.F337217748@hoegaarden.pil.dk> Date: Tue, 21 Sep 2004 09:41:27 +0200 (CEST) From: Kenneth Vestergaard Schmidt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71961: [patch] Patch for keepalive-bug included in www/apache13 not in www/apache13-modssl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 07:50:26 -0000 >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: