finalize_request_protocol is called at completion of sending the * response. Its sole purpose is to send the terminating protocol * information for any wrappers around the response message body * (i.e., transfer encodings). It should have been named finalize_response. */
| 1721 | * (i.e., transfer encodings). It should have been named finalize_response. |
| 1722 | */ |
| 1723 | AP_DECLARE(void) ap_finalize_request_protocol(request_rec *r) |
| 1724 | { |
| 1725 | int status = ap_discard_request_body(r); |
| 1726 | |
| 1727 | /* tell the filter chain there is no more content coming */ |
| 1728 | if (!r->eos_sent) { |
| 1729 | end_output_stream(r, status); |
| 1730 | } |
| 1731 | } |
| 1732 | |
| 1733 | /* |
| 1734 | * Support for the Basic authentication protocol, and a bit for Digest. |