]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
As Greg noted, set_keepalive has to happen before we check r->chunked, but
authorRyan Bloom <rbb@apache.org>
Wed, 24 Jan 2001 23:47:42 +0000 (23:47 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 24 Jan 2001 23:47:42 +0000 (23:47 +0000)
commit0bb70dc4df13441f90e5b2b1dcff48bc508cc558
tree982fe73693618eaa4afefa99e9797b3859ccbfe1
parent01645c701c19d3e1851ed94abb4a488d7402ea01
As Greg noted, set_keepalive has to happen before we check r->chunked, but
it also has to happen after ap_basic_http_header.  Otherwise, we don't
set r->connection->keepalive correctly, and it can be -1 for requests that
don't support keepalive.  This moves ap_basic_http_header to above the
call to set_keepalive (after reversing the previous patch), which should
be perfectly safe, while still fixing the original bug.
Submitted by: Greg Stein

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