From: Brian Pane Date: Thu, 13 Jun 2002 19:41:17 +0000 (+0000) Subject: Pass the brigade even on header_only requests X-Git-Tag: 2.0.38~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db8d5fe1d7a403cf922f2125e943ef448494471e;p=apache Pass the brigade even on header_only requests git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95653 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index cf8eb83b25..506e0710dc 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -1234,15 +1234,13 @@ static int cgid_handler(request_rec *r) return HTTP_MOVED_TEMPORARILY; } - if (!r->header_only) { - /* Passing our socket down the filter chain in a pipe bucket - * gives up the responsibility of closing the socket, so - * get rid of the cleanup. - */ - apr_pool_cleanup_kill(r->pool, (void *)sd, close_unix_socket); + /* Passing our socket down the filter chain in a pipe bucket + * gives up the responsibility of closing the socket, so + * get rid of the cleanup. + */ + apr_pool_cleanup_kill(r->pool, (void *)sd, close_unix_socket); - ap_pass_brigade(r->output_filters, bb); - } + ap_pass_brigade(r->output_filters, bb); } if (nph) {