Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 10:26:01 +0200 (CEST)
From:      Helge Oldach <apache13jun14@oldach.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67928: bug fix for WebDAV with ports/www/apache13
Message-ID:  <200406140826.i5E8Q0k1036099@sep.oldach.net>
Resent-Message-ID: <200406140830.i5E8USQ6057809@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406140826.i5E8Q0k1036099>