From f164fcd293980a2b6fb5c2b15b8e1bc96fc627a7 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sat, 20 Oct 2001 20:43:37 +0000 Subject: [PATCH] Fix a nasty GP fault... stop testing buckets after they are passed!!! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@91610 13f79535-47bb-0310-9956-ffa450edef68 --- ssl_engine_io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssl_engine_io.c b/ssl_engine_io.c index 16c97149ae2..1f6ca470576 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -373,6 +373,7 @@ static apr_status_t ssl_io_filter_Output(ap_filter_t *f, */ if (APR_BUCKET_IS_EOS(bucket) || APR_BUCKET_IS_FLUSH(bucket)) { apr_bucket_brigade *outbb; + int done = APR_BUCKET_IS_EOS(bucket); if ((ret = churn_output(ctx)) != APR_SUCCESS) { return ret; @@ -387,7 +388,7 @@ static apr_status_t ssl_io_filter_Output(ap_filter_t *f, } /* By definition, nothing can come after EOS. */ - if (APR_BUCKET_IS_EOS(bucket)) { + if (done) { break; } } -- 2.47.2