From 312d0bf2e1da61ac2d43e337d80762904fa27c2e Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Thu, 3 Apr 2008 16:21:20 +0000 Subject: [PATCH] close PR 44381 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@644391 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/http/http_filters.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index 2ece280a61..8bf9b084cf 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [ When backported to 2.2.x, remove entry from this file ] + *) http_filters: Don't spin if get an error when reading the + next chunk. PR 44381 [Ruediger Pluem] + *) mod_dav: Return "method not allowed" if the destination URI of a WebDAV copy / move operation is no DAV resource. PR 44734 [Ruediger Pluem] diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 4b9bbff4b4..90d30269bc 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -427,6 +427,10 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, (APR_STATUS_IS_EAGAIN(rv)) )) { return APR_EAGAIN; } + /* If we get an error, then leave */ + if (rv != APR_SUCCESS) { + return rv; + } /* * We really don't care whats on this line. If it is RFC * compliant it should be only \r\n. If there is more -- 2.40.0