Commit 502570f2 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89902 13f79535-47bb-0310-9956-ffa450edef68
parent 03817d3c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -187,9 +187,13 @@ typedef struct include_filter_ctx {
if ((APR_BRIGADE_EMPTY(cntxt->ssi_tag_brigade)) &&                \
    (cntxt->head_start_bucket != NULL)) {                         \
    apr_bucket_brigade *tag_plus;                                 \
    int rv;                                                       \
                                                                  \
    tag_plus = apr_brigade_split(brgd, cntxt->head_start_bucket); \
    ap_pass_brigade(next, brgd);                                  \
    rv = ap_pass_brigade(next, brgd);                             \
    if (rv != APR_SUCCESS) {                                      \
        return rv;                                                \
    }                                                             \
    cntxt->bytes_parsed = 0;                                      \
    brgd = tag_plus;                                              \
}