]> granicus.if.org Git - apache/commitdiff
* modules/ssl/ssl_engine_io.c (bio_filter_out_flush): Create a new
authorJoe Orton <jorton@apache.org>
Tue, 15 Jun 2004 21:00:22 +0000 (21:00 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 15 Jun 2004 21:00:22 +0000 (21:00 +0000)
brigade for sending output after passing on the current one.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103967 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index de71166335d280a33b3e7e73eba48b81252a7d10..0d9779755545b7e3ca67b0c48ead978bb1068f04 100644 (file)
@@ -153,6 +153,8 @@ static int bio_filter_out_flush(BIO *bio)
 
     outctx->rc = ap_pass_brigade(outctx->filter_ctx->pOutputFilter->next,
                                  outctx->bb);
+    /* create new brigade ready for next time through */
+    outctx->bb = apr_brigade_create(outctx->c->pool, outctx->c->bucket_alloc);
     return (outctx->rc == APR_SUCCESS) ? 1 : -1;
 }