diff options
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | modules/generators/mod_cgi.c | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,9 @@ - Changes with Apache 2.0.38 + *) Allow CGI scripts to return their Content-Length. This also fixes a + hang on HEAD requests seen on certain platforms (such as FreeBSD). + [Justin Erenkrantz] + *) Added log rotation based on file size to the RotateLog support utility. [Brad Nicholes] diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index daad028808..7914df7024 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -798,9 +798,7 @@ static int cgi_handler(request_rec *r) return HTTP_MOVED_TEMPORARILY; } - if (!r->header_only) { - ap_pass_brigade(r->output_filters, bb); - } + ap_pass_brigade(r->output_filters, bb); log_script_err(r, script_err); apr_file_close(script_err); |