]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Per RFC 2616 section 9.4, we SHOULD return the content-length if possible on
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 13 Jun 2002 06:36:40 +0000 (06:36 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 13 Jun 2002 06:36:40 +0000 (06:36 +0000)
commitb5bc68a4d243e1569073ae1768dde6e22f02d9e7
tree8642323325a0480a6d2389c93675ccf5c669ded8
parent6144c7a643e4de8d271ab97e4100c758861218eb
Per RFC 2616 section 9.4, we SHOULD return the content-length if possible on
HEAD requests (even for CGI requests).  Also do it because it fixes the cause
of .37's demise.

This also fixes a condition seen on FreeBSD-4.6 where HEAD requests on CGI
scripts would hang because the OS would return EAGAIN in log_script_err
(via apr_file_gets).  Since we never read the script output, this caused
FreeBSD to not let us read stderr.

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