fix request counter handling while discarding body, introduced in r3050

This commit is contained in:
Igor Sysoev 2009-09-01 12:40:27 +00:00
parent bb5c3b7b73
commit 96b44e1bfb

View file

@ -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;