Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 63476 invoked by uid 500); 20 Jan 2002 03:17:13 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 63465 invoked by uid 500); 20 Jan 2002 03:17:13 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 20 Jan 2002 03:17:12 -0000 Message-ID: <20020120031712.33725.qmail@icarus.apache.org> From: gstein@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/dav/main mod_dav.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N gstein 02/01/19 19:17:12 Modified: modules/dav/main mod_dav.c Log: If the provider returns an error, then we should propagate it (rather than override it with HTTP_INTERNAL_SERVER_ERROR). The specific case observed was a provider issuing a redirect. Revision Changes Path 1.68 +1 -1 httpd-2.0/modules/dav/main/mod_dav.c Index: mod_dav.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/dav/main/mod_dav.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- mod_dav.c 14 Jan 2002 13:43:24 -0000 1.67 +++ mod_dav.c 20 Jan 2002 03:17:12 -0000 1.68 @@ -680,7 +680,7 @@ label, use_checked_in, res_p); if (err != NULL) { - err = dav_push_error(r->pool, HTTP_INTERNAL_SERVER_ERROR, 0, + err = dav_push_error(r->pool, err->status, 0, "Could not fetch resource information.", err); return err; }