Bug 71040

Summary: www/apache13 1.3.31 has bug that breaks DAV
Product: Ports & Packages Reporter: Kevin Way <kevin>
Component: Individual Port(s)Assignee: Andrey A. Chernov <ache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kevin Way 2004-08-27 18:50:22 UTC
apache 1.3.31 has a bug which breaks DAV folders resulting in an httpd error log filled with: request failed: erroneous characters after protocol string: <?xml version=\\"1.0\\" encoding=\\"utf-8\\" ?>

Fix: 

--- src/main/http_request.c     2004/04/28 16:58:42     1.174
+++ src/main/http_request.c     2004/05/28 12:07:02     1.175
@@ -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);
     }
How-To-Repeat: use DAV on apache 1.3.31
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-08-28 02:07:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer.
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2004-08-28 02:10:58 UTC
State Changed
From-To: open->closed

Already fixed long time ago