to note a "to be closed" connection, and thus avoid reading
in a body when not needed.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103539
13f79535-47bb-0310-9956-
ffa450edef68
*/
if ((r->status != HTTP_NOT_MODIFIED) && (r->status != HTTP_NO_CONTENT)
&& !ap_status_drops_connection(r->status)
- && r->connection && (r->connection->keepalive != -1)) {
+ && r->connection && (r->connection->keepalive > 0)) {
(void) ap_discard_request_body(r);
}