]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix bug where non-200 CGI responses will not send anything down filter chain.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 10 Aug 2005 04:32:13 +0000 (04:32 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 10 Aug 2005 04:32:13 +0000 (04:32 +0000)
commit7b005585dfbeadf4c99c47778133699522e9cd2e
treee9c3ebd36c229cd7f7ba4f3f8874dcf091054bf8
parent4a4869adca2927eb4542b78680467c7629d4fd99
Fix bug where non-200 CGI responses will not send anything down filter chain.
This is most notable when mod_cache is used.  This has been used in production
on wiki.apache.org for a while now.

* modules/generators/mod_cgi.c
  (cgi_handler): When a non-zero value is returned by scan_script, set the
  status field and ensure that we have an EOS to send down the filer stack.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231167 13f79535-47bb-0310-9956-ffa450edef68
modules/generators/mod_cgi.c