summaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-12-17 22:24:05 +0000
committerClement Laforet <clement@FreeBSD.org>2004-12-17 22:24:05 +0000
commitd77a69574f8196a7f8152a6c04d7a3ad4c3899f7 (patch)
treeb74705329034156339296150eaa5990c14b023ae /www/apache2
parentFix plist. (diff)
- 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 <bringer at echo dot fr> Patched by: Bruno Ducrot <ducrot at poupinou dot org>
Notes
Notes: svn path=/head/; revision=124335
Diffstat (limited to 'www/apache2')
-rw-r--r--www/apache2/files/patch-modules:ssl:ssl_engine_io.c11
1 files changed, 11 insertions, 0 deletions
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)