Fix connection problem with mod_dav and FP

http://issues.apache.org/bugzilla/show_bug.cgi?id=29237

PR:             67928
Submitted by:   Helge Oldach <apache13jun14@oldach.net>
This commit is contained in:
Andrey A. Chernov 2004-06-14 13:22:58 +00:00
parent a9e73f8ac0
commit c43d638eb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111459
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.31
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= apache_${PORTVERSION}

View file

@ -0,0 +1,11 @@
--- 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);
}