From 69b355c3e1a63fefd0b9835be7a5c5f8e0876c37 Mon Sep 17 00:00:00 2001 From: clement Date: Fri, 17 Dec 2004 22:24:05 +0000 Subject: - Fix a bug in mod_ssl. When client aborts connection, mod_ssl still try to send its data, ad vitam eternam. Noticed by: Didier Bringer Patched by: Bruno Ducrot --- www/apache2/files/patch-modules:ssl:ssl_engine_io.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/apache2/files/patch-modules:ssl:ssl_engine_io.c (limited to 'www/apache2') diff --git a/www/apache2/files/patch-modules:ssl:ssl_engine_io.c b/www/apache2/files/patch-modules:ssl:ssl_engine_io.c new file mode 100644 index 000000000000..0f2823e10232 --- /dev/null +++ b/www/apache2/files/patch-modules:ssl:ssl_engine_io.c @@ -0,0 +1,11 @@ +--- modules/ssl/ssl_engine_io.c.orig Fri Dec 17 23:14:23 2004 ++++ modules/ssl/ssl_engine_io.c Fri Dec 17 23:15:04 2004 +@@ -153,7 +153,7 @@ + + outctx->rc = ap_pass_brigade(outctx->filter_ctx->pOutputFilter->next, + outctx->bb); +- return (outctx->rc == APR_SUCCESS) ? 1 : -1; ++ return (outctx->rc == APR_SUCCESS && !outctx->c->aborted) ? 1 : -1; + } + + static int bio_filter_create(BIO *bio) -- cgit