mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
block reading for level events
This commit is contained in:
parent
7ab4d9cb55
commit
ce6bcc0795
1 changed files with 1 additions and 0 deletions
|
|
@ -503,6 +503,7 @@ ngx_http_read_discarded_body(ngx_http_request_t *r)
|
|||
|
||||
do {
|
||||
if (r->headers_in.content_length_n == 0) {
|
||||
r->read_event_handler = ngx_http_block_reading;
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue