From f719c7bff2ee96ca5b44556b02f58d2ae0b891ac Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Thu, 13 Jun 2002 19:41:17 +0000 Subject: [PATCH] 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 --- modules/generators/mod_cgid.c | 14 ++++++-------- 1 file 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) { -- 2.50.1