Commit a08523c6 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* This shortcut is too short. It is not up to the filters to decide

  whether filters down the chain can do something useful with this empty
  brigade.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@424759 13f79535-47bb-0310-9956-ffa450edef68
parent a9eb8045
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f,

    /* Do nothing if asked to filter nothing. */
    if (APR_BRIGADE_EMPTY(bb)) {
        return APR_SUCCESS;
        return ap_pass_brigade(f->next, bb);
    }

    /* If we don't have a context, we need to ensure that it is okay to send
@@ -878,7 +878,7 @@ static apr_status_t inflate_out_filter(ap_filter_t *f,

    /* Do nothing if asked to filter nothing. */
    if (APR_BRIGADE_EMPTY(bb)) {
        return APR_SUCCESS;
        return ap_pass_brigade(f->next, bb);
    }

    c = ap_get_module_config(r->server->module_config, &deflate_module);