mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
- 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>
This commit is contained in:
parent
b7d7064198
commit
d77a69574f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124335
11
www/apache2/files/patch-modules:ssl:ssl_engine_io.c
Normal file
11
www/apache2/files/patch-modules:ssl:ssl_engine_io.c
Normal file
@ -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)
|
11
www/apache20/files/patch-modules:ssl:ssl_engine_io.c
Normal file
11
www/apache20/files/patch-modules:ssl:ssl_engine_io.c
Normal file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user