mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix request counter handling while discarding body, introduced in r3050
This commit is contained in:
parent
56f06e69df
commit
b4cc2fc0d7
@ -477,6 +477,7 @@ ngx_http_discard_request_body(ngx_http_request_t *r)
|
||||
return NGX_HTTP_INTERNAL_SERVER_ERROR;
|
||||
}
|
||||
|
||||
r->count++;
|
||||
(void) ngx_http_read_discarded_request_body(r);
|
||||
|
||||
return NGX_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user