diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-10-20 22:43:37 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-10-20 22:43:37 +0200 |
commit | b9e48fc75e5a6c732381fcb592dfbc1df4ff59fa (patch) | |
tree | c72126a6393d56cf2b4b1024ee3c02ff45b3adae /modules | |
parent | Restrict by content type and encoding before we go and try to drag in some (diff) | |
download | apache2-b9e48fc75e5a6c732381fcb592dfbc1df4ff59fa.tar.xz apache2-b9e48fc75e5a6c732381fcb592dfbc1df4ff59fa.zip |
Fix a nasty GP fault... stop testing buckets after they are passed!!!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91610 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ssl/ssl_engine_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index 16c97149ae..1f6ca47057 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/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; } } |