MCPcopy Create free account
hub / github.com/apache/httpd / ap_finalize_request_protocol

Function ap_finalize_request_protocol

server/protocol.c:1723–1731  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

1721 * (i.e., transfer encodings). It should have been named finalize_response.
1722 */
1723AP_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.

Callers 4

ap_send_error_responseFunction · 0.85
ap_die_rFunction · 0.85
dialup_callbackFunction · 0.85
http_protocol.hFile · 0.85

Calls 2

ap_discard_request_bodyFunction · 0.85
end_output_streamFunction · 0.85

Tested by 1

dialup_callbackFunction · 0.68