core_output_filter: don't split the brigade after a FLUSH bucket if
it's the last bucket. This prevents creating unneccessary empty
brigades which may not be destroyed until the end of a keepalive
connection.
Submitted by: Juan Rivera <Juan.Rivera@citrix.com>
Reviewed by: Brian Pane, Jeff Trawick, Justin Erenkrantz, Sander Striker
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@100424
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.47
+ *) core_output_filter: don't split the brigade after a FLUSH bucket if
+ it's the last bucket. This prevents creating unneccessary empty
+ brigades which may not be destroyed until the end of a keepalive
+ connection.
+ [Juan Rivera <Juan.Rivera@citrix.com>]
+
+ *) Add support for "streamy" PROPFIND responses.
+ [Ben Collins-Sussman <sussman@collab.net>]
+
*) mod_cgid: Eliminate a double-close of a socket. This resolves
various operational problems in a threaded MPM, since on the
second attempt to close the socket, the same descriptor was
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/06/29 17:59:27 $]
+Last modified at [$Date: 2003/07/01 00:13:28 $]
Release:
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/protocol.c.diff?r1=1.131&r2=1.132&diff_format=h
+1: brianp, jerenkrantz
- * core_output_filter: don't split the brigade after a FLUSH bucket
- if it's the last bucket. This prevents creating unneccessary empty
- brigades which may not be destroyed until the end of a keepalive
- connection.
- server/core.c: r1.238
- http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/core.c.diff?r1=1.237&r2=1.238
- +1: brianp, trawick, jerenkrantz
-
* Backport LimitInteralRecursion to 2.0 and 1.3.
(1.3 patch is here: <http://cvs.apache.org/~nd/recursion13.patch>)
(2.0 patch is here: <http://cvs.apache.org/~nd/recursion20.patch>)
break;
}
if (APR_BUCKET_IS_FLUSH(e)) {
- more = apr_brigade_split(b, APR_BUCKET_NEXT(e));
+ if (e != APR_BRIGADE_LAST(b)) {
+ more = apr_brigade_split(b, APR_BUCKET_NEXT(e));
+ }
break;
}