ports/www/apache13/files/patch-http_request.c
Andrey A. Chernov c43d638eb4 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>
2004-06-14 13:22:58 +00:00

11 lines
449 B
C

--- 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);
}