fix request counter handling while discarding body, introduced in r3050
This commit is contained in:
parent
bb5c3b7b73
commit
96b44e1bfb
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…
Reference in a new issue