mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* modules/ssl/ssl_engine_io.c (bio_filter_out_flush): Fail if the
connection was reset. PR: 32699 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -153,6 +153,10 @@ static int bio_filter_out_flush(BIO *bio)
|
|||||||
|
|
||||||
outctx->rc = ap_pass_brigade(outctx->filter_ctx->pOutputFilter->next,
|
outctx->rc = ap_pass_brigade(outctx->filter_ctx->pOutputFilter->next,
|
||||||
outctx->bb);
|
outctx->bb);
|
||||||
|
/* Fail if the connection was reset: */
|
||||||
|
if (outctx->rc == APR_SUCCESS && outctx->c->aborted) {
|
||||||
|
outctx->rc = APR_ECONNRESET;
|
||||||
|
}
|
||||||
return (outctx->rc == APR_SUCCESS) ? 1 : -1;
|
return (outctx->rc == APR_SUCCESS) ? 1 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user