Checkout
rbb
committed
on 24 Jan 01
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 … Show more
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

Show less