mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 19:42:39 +08:00
block reading for level events
This commit is contained in:
parent
7ab4d9cb55
commit
ce6bcc0795
@ -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…
Reference in New Issue
Block a user