Bug#263425: Broken keepalive
Package: apache
Version: 1.3.31-3
There's a keepalive bug which breaks some modules like
libapache-mod-dav. The bug is fixed in the upstream cvs.
The patch in apache cvs,
http://cvs.apache.org/viewcvs.cgi/apache-1.3/src/main/http_request.c?
r1=1.174&r2=1.175
Bug description
http://mailman.lyra.org/pipermail/dav-dev/2004-May/005514.html
http://mailman.lyra.org/pipermail/dav-dev/2004-May/005515.html
I've successfully built apache with the following patch and the issue
with libapache-mod-dav was resolved.
--- build-tree.orig/apache_1.3.31/src/main/http_request.c Wed Aug 4
05:28:17 2004
+++ build-tree/apache_1.3.31/src/main/http_request.c Wed Aug 4
05:28:58 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);
}
Reply to: