ASF Bugzilla – Attachment 36838 Details for
Bug 63855
Regression in handling 100-continue after PR 60330
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Send 100-continue (if needed) when spooling the request body
proxy_spool_100_continue.diff (text/plain), 739 bytes, created by
Yann Ylavic
on 2019-10-16 16:47:29 UTC
(
hide
)
Description:
Send 100-continue (if needed) when spooling the request body
Filename:
MIME Type:
Creator:
Yann Ylavic
Created:
2019-10-16 16:47:29 UTC
Size:
739 bytes
patch
obsolete
>Index: modules/proxy/mod_proxy_http.c >=================================================================== >--- modules/proxy/mod_proxy_http.c (revision 1868194) >+++ modules/proxy/mod_proxy_http.c (working copy) >@@ -438,6 +438,18 @@ static int spool_reqbody_cl(proxy_http_req_t *req, > apr_file_t *tmpfile = NULL; > apr_off_t limit; > >+ /* Send "100 Continue" if needed before spooling */ >+ if (req->expecting_100) { >+ int saved_status = r->status; >+ r->status = HTTP_CONTINUE; >+ r->expecting_100 = 1; >+ >+ ap_send_interim_response(r, 1); >+ >+ r->status = saved_status; >+ req->expecting_100 = 0; >+ } >+ > body_brigade = apr_brigade_create(p, bucket_alloc); > *bytes_spooled = 0; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 63855
:
36834
|
36835
|
36836
|
36837
|
36838
|
36848
|
36849