diff options
author | Nick Kew <niq@apache.org> | 2007-10-26 23:56:06 +0000 |
---|---|---|
committer | Nick Kew <niq@apache.org> | 2007-10-26 23:56:06 +0000 |
commit | c94140fb017f551ab7b58f9b49b886623153df08 (patch) | |
tree | 1ca61d2e9f63550235b09d570a5f12bc3e1edabb /include | |
parent | f9b0ac8843381f80f22c682eac36575c5f74b641 (diff) | |
download | httpd-c94140fb017f551ab7b58f9b49b886623153df08.tar.gz |
Add option not to send&clear response headers in ap_send_interim_response.
We'll need this option to fix PR#43711, and ap_send_interim_response
is fortunately too new an API to have made it into anything stable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@588806 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/http_protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/http_protocol.h b/include/http_protocol.h index 4cf351e13d..276d09bf98 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -668,8 +668,9 @@ AP_DECLARE(void) ap_finalize_sub_req_protocol(request_rec *sub_r); /** * Send an interim (HTTP 1xx) response immediately. * @param r The request + * @param send_headers Whether to send&clear headers in r->headers_out */ -AP_DECLARE(void) ap_send_interim_response(request_rec *r); +AP_DECLARE(void) ap_send_interim_response(request_rec *r, int send_headers); #ifdef __cplusplus } |