]> granicus.if.org Git - apache/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)
commit001b387bcdb1644aea9d7c523dedf5ac04f3c4b4
tree50cf13c57153893234bd5bf3611dc183ab6ee5f3
parentb76b71d61228a5e52a01d93a413386c35814e73f
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