Loading modules/ssl/ssl_engine_io.c +6 −10 Original line number Diff line number Diff line Loading @@ -150,7 +150,6 @@ static apr_status_t churn_output(SSLFilterRec *ctx) { ap_filter_t *f = ctx->pOutputFilter; apr_pool_t *p = f->c->pool; apr_bucket_brigade *bb = NULL; if (!ctx->pssl) { /* we've been shutdown */ Loading @@ -159,10 +158,9 @@ static apr_status_t churn_output(SSLFilterRec *ctx) if (BIO_pending(ctx->pbioWrite)) { BUF_MEM *bm = BIO_mem(ctx->pbioWrite); apr_bucket_brigade *bb = apr_brigade_create(p); apr_bucket *bucket; bb = apr_brigade_create(p); /* * use the BIO memory buffer that has already been allocated, * rather than making another copy of it. Loading @@ -176,14 +174,12 @@ static apr_status_t churn_output(SSLFilterRec *ctx) bm->length = 0; /* reset */ APR_BRIGADE_INSERT_TAIL(bb, bucket); } /* XXX: check for errors */ if (bb) { apr_bucket *bucket = apr_bucket_flush_create(); /* XXX: it may be possible to not always flush */ bucket = apr_bucket_flush_create(); APR_BRIGADE_INSERT_TAIL(bb, bucket); /* XXX: check for errors */ ap_pass_brigade(f->next, bb); } Loading Loading
modules/ssl/ssl_engine_io.c +6 −10 Original line number Diff line number Diff line Loading @@ -150,7 +150,6 @@ static apr_status_t churn_output(SSLFilterRec *ctx) { ap_filter_t *f = ctx->pOutputFilter; apr_pool_t *p = f->c->pool; apr_bucket_brigade *bb = NULL; if (!ctx->pssl) { /* we've been shutdown */ Loading @@ -159,10 +158,9 @@ static apr_status_t churn_output(SSLFilterRec *ctx) if (BIO_pending(ctx->pbioWrite)) { BUF_MEM *bm = BIO_mem(ctx->pbioWrite); apr_bucket_brigade *bb = apr_brigade_create(p); apr_bucket *bucket; bb = apr_brigade_create(p); /* * use the BIO memory buffer that has already been allocated, * rather than making another copy of it. Loading @@ -176,14 +174,12 @@ static apr_status_t churn_output(SSLFilterRec *ctx) bm->length = 0; /* reset */ APR_BRIGADE_INSERT_TAIL(bb, bucket); } /* XXX: check for errors */ if (bb) { apr_bucket *bucket = apr_bucket_flush_create(); /* XXX: it may be possible to not always flush */ bucket = apr_bucket_flush_create(); APR_BRIGADE_INSERT_TAIL(bb, bucket); /* XXX: check for errors */ ap_pass_brigade(f->next, bb); } Loading