ports/67928: bug fix for WebDAV with ports/www/apache13

Helge Oldach apache13jun14 at oldach.net
Mon Jun 14 08:30:31 UTC 2004


>Number:         67928
>Category:       ports
>Synopsis:       bug fix for WebDAV with ports/www/apache13
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 08:30:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD sep.oldach.net 4.10-STABLE FreeBSD 4.10-STABLE #1889: Fri Jun 11 19:49:16 CEST 2004 toor at sep:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Combination of ports/www/apache13, ports/www/mod_dav, and web sites
being updated by ports/www/sitecopy. Since the upgrade to Apache 1.3.31,
WebDAV doesn't work properly any longer. Some debugging and googling
revealed that this is a known Apache bug.

See http://issues.apache.org/bugzilla/show_bug.cgi?id=29237
Further links to similar problems on PR.

>How-To-Repeat:
	
>Fix:

--- src/main/http_request.c.orig	Wed Apr 28 18:58:42 2004
+++ src/main/http_request.c	Sun Jun 13 23:25:23 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);
     }

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list