mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 11:52:00 +00:00
fix request counter handling while discarding body, introduced in r3050
This commit is contained in:
parent
56f06e69df
commit
b4cc2fc0d7
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue