aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-12-18 06:24:05 +0800
committerclement <clement@FreeBSD.org>2004-12-18 06:24:05 +0800
commit69b355c3e1a63fefd0b9835be7a5c5f8e0876c37 (patch)
tree0fbb5097cbbe28a944a655bc96eb5c92f8fabbff /www/apache20
parent1535d285a240cef655e0e3be605c0bd370b89038 (diff)
downloadfreebsd-ports-gnome-69b355c3e1a63fefd0b9835be7a5c5f8e0876c37.tar.gz
freebsd-ports-gnome-69b355c3e1a63fefd0b9835be7a5c5f8e0876c37.tar.zst
freebsd-ports-gnome-69b355c3e1a63fefd0b9835be7a5c5f8e0876c37.zip
- 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>
Diffstat (limited to 'www/apache20')
-rw-r--r--www/apache20/files/patch-modules:ssl:ssl_engine_io.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache20/files/patch-modules:ssl:ssl_engine_io.c b/www/apache20/files/patch-modules:ssl:ssl_engine_io.c
new file mode 100644
index 000000000000..0f2823e10232
--- /dev/null
+++ b/www/apache20/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)