]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Change conn_rec->keepalive to an enumerated value of
authorJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 26 Jun 2002 19:45:07 +0000 (19:45 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 26 Jun 2002 19:45:07 +0000 (19:45 +0000)
commit6c1dacd1eea4216a08ddabead031628830e73c16
tree50cf13c57153893234bd5bf3611dc183ab6ee5f3
parent58eaecbaff7ade976c08de1eb1022aae9507e4a1
Change conn_rec->keepalive to an enumerated value of

AP_CONN_UNKNOWN
AP_CONN_CLOSE
AP_CONN_KEEPALIVE

This also fixes a problem where ap_discard_request_body would not discard
the body when keepalive was 0.  This actually meant the keepalive status
was unknown *not* closed, but no one ever remembered that.

This problem was seen with mod_dav sending error responses (as reported by
Karl Fogel).

Suggested by: Greg "this isn't the '80s" Stein
Reviewed by: Greg Ames

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95891 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/ap_mmn.h
include/httpd.h
modules/arch/win32/mod_isapi.c
modules/http/http_core.c
modules/http/http_protocol.c
modules/http/http_request.c
modules/loggers/mod_log_config.c
modules/proxy/proxy_http.c
server/core.c
server/protocol.c