freebsd-ports/www/apache13-modssl/files/patch-http_request.c
Dirk Meyer d4b9b686e1 - Patch for keepalive-bug
PR:		71961
Submitted by:	Kenneth Vestergaard Schmidt
2004-10-12 04:06:32 +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);
}