Commit db26ec18 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

ap_content_length_filter(): if ap_save_brigade() fails, tell the caller


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87549 13f79535-47bb-0310-9956-ffa450edef68
parent 48e37b05
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2336,8 +2336,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter(ap_filter_t *f,
    }

    if ((ctx->curr_len < AP_MIN_BYTES_TO_WRITE) && !send_it) {
        ap_save_brigade(f, &ctx->saved, &b);
        return APR_SUCCESS;
        return ap_save_brigade(f, &ctx->saved, &b);
    }

    /* We will compute a content length if: