You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2008/04/17 16:07:27 UTC
svn commit: r649116 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS
modules/http/http_filters.c
Author: jim
Date: Thu Apr 17 07:07:25 2008
New Revision: 649116
URL: http://svn.apache.org/viewvc?rev=649116&view=rev
Log:
Merge r644391 from trunk:
close PR 44381
Reviewed by: jim
Modified:
httpd/httpd/branches/2.2.x/CHANGES
httpd/httpd/branches/2.2.x/STATUS
httpd/httpd/branches/2.2.x/modules/http/http_filters.c
Modified: httpd/httpd/branches/2.2.x/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?rev=649116&r1=649115&r2=649116&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/CHANGES [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/CHANGES [utf-8] Thu Apr 17 07:07:25 2008
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes with Apache 2.2.9
+ *) http_filters: Don't spin if get an error when reading the
+ next chunk. PR 44381 [Ruediger Pluem]
+
*) ab: Do not try to read non existing response bodies of HEAD requests.
PR 34275 [Takashi Sato <serai lans-tv.com>]
Modified: httpd/httpd/branches/2.2.x/STATUS
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/STATUS?rev=649116&r1=649115&r2=649116&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/STATUS (original)
+++ httpd/httpd/branches/2.2.x/STATUS Thu Apr 17 07:07:25 2008
@@ -88,15 +88,6 @@
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * http_filter: Don't spin if we get an error when reading
- (the next) chunk.
- PR: 44381
- Trunk version of patch:
- http://svn.apache.org/viewvc?view=rev&revision=644391
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1: jim, rpluem, covener
-
* mod_substitute: Make default behavior flattening of buckets. Allow
for people to specifically set "quick" mode.
Trunk version of patch:
Modified: httpd/httpd/branches/2.2.x/modules/http/http_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/http/http_filters.c?rev=649116&r1=649115&r2=649116&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/http/http_filters.c (original)
+++ httpd/httpd/branches/2.2.x/modules/http/http_filters.c Thu Apr 17 07:07:25 2008
@@ -425,6 +425,10 @@
(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