From: Joe Orton Date: Tue, 15 Jun 2004 21:00:22 +0000 (+0000) Subject: * modules/ssl/ssl_engine_io.c (bio_filter_out_flush): Create a new X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f121a65c3ba87db7271aef8efa43d76e183b1e72;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index de71166335d..0d977975554 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; }