mirror of
https://github.com/nginx/nginx.git
synced 2024-11-25 18:30:26 -06:00
fix segfault when a request body fits in r->header_in and
the body will be written to file
This commit is contained in:
parent
8ff1e3251c
commit
36588962aa
@ -163,6 +163,8 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
|
||||
|
||||
/* the whole request body may be placed in r->header_in */
|
||||
|
||||
rb->to_write = rb->bufs;
|
||||
|
||||
r->read_event_handler = ngx_http_read_client_request_body_handler;
|
||||
|
||||
return ngx_http_do_read_client_request_body(r);
|
||||
|
Loading…
Reference in New Issue
Block a user