summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-06-15 21:00:22 +0000
committerJoe Orton <jorton@apache.org>2004-06-15 21:00:22 +0000
commitf121a65c3ba87db7271aef8efa43d76e183b1e72 (patch)
treea33b698eac3c46bc8d0c99aa699edeae89144a8f
parentf12f9bfb5a9cff6c41961be698ae17063eecfb4c (diff)
downloadhttpd-f121a65c3ba87db7271aef8efa43d76e183b1e72.tar.gz
* modules/ssl/ssl_engine_io.c (bio_filter_out_flush): Create a new
brigade for sending output after passing on the current one. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@103967 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--ssl_engine_io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl_engine_io.c b/ssl_engine_io.c
index de71166335..0d97797555 100644
--- a/ssl_engine_io.c
+++ b/ssl_engine_io.c
@@ -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;
}