Commit a29673b7 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

Explain how we're checking to see if ap_proxy_backend_broke()

has been called or not. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@366558 13f79535-47bb-0310-9956-ffa450edef68
parent 2327b4a2
Loading
Loading
Loading
Loading
+2 −1
Changes for modules/proxy/mod_proxy_ajp.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -432,7 +432,8 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
    /*
     * Ensure that we sent an EOS bucket thru the filter chain, if we already
     * have sent some data. Maybe ap_proxy_backend_broke was called and added
     * one to the brigade already. So we should not do this in this case.
     * one to the brigade already (no longer making it empty). So we should
     * not do this in this case.
     */
    if (data_sent && !r->eos_sent && APR_BRIGADE_EMPTY(output_brigade)) {
        e = apr_bucket_eos_create(r->connection->bucket_alloc);