1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

mod_ssl: forward EOR (only) brigades to the core_output_filter().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1705194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2015-09-24 23:13:03 +00:00
parent 086fc25c68
commit 9aba39ee0c
2 changed files with 6 additions and 6 deletions

View File

@@ -1704,15 +1704,15 @@ static apr_status_t ssl_io_filter_output(ap_filter_t *f,
while (!APR_BRIGADE_EMPTY(bb)) {
apr_bucket *bucket = APR_BRIGADE_FIRST(bb);
/* If it is a flush or EOS, we need to pass this down.
/* If it is a flush or EOS/EOR, we need to pass this down.
* These types do not require translation by OpenSSL.
*/
if (APR_BUCKET_IS_EOS(bucket)) {
if (APR_BUCKET_IS_EOS(bucket) || AP_BUCKET_IS_EOR(bucket)) {
/*
* By definition, nothing can come after EOS.
* By definition, nothing can come after EOS/EOR.
* which also means we can pass the rest of this brigade
* without creating a new one since it only contains the
* EOS bucket.
* EOS/EOR bucket.
*/
if ((status = ap_pass_brigade(f->next, bb)) != APR_SUCCESS) {