Commit c705b458 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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
parent 8656d025
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
            }
        }