diff options
author | Brian Pane <brianp@apache.org> | 2002-06-13 19:41:17 +0000 |
---|---|---|
committer | Brian Pane <brianp@apache.org> | 2002-06-13 19:41:17 +0000 |
commit | db8d5fe1d7a403cf922f2125e943ef448494471e (patch) | |
tree | f407178d3d0fc54f3a07607bbbd0473692035532 /modules/generators | |
parent | 0eaf6dc627ee2f15863fb29f95671eea057f29a4 (diff) | |
download | httpd-db8d5fe1d7a403cf922f2125e943ef448494471e.tar.gz |
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
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_cgid.c | 14 |
1 files changed, 6 insertions, 8 deletions
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) { |