diff options
-rw-r--r-- | src/nxt_http_request.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c index 89780454..270ebba7 100644 --- a/src/nxt_http_request.c +++ b/src/nxt_http_request.c @@ -221,6 +221,7 @@ nxt_http_app_request(nxt_task_t *task, void *obj, void *data) if (r->body != NULL) { ar->r.body.buf = r->body; ar->r.body.preread_size = r->content_length_n; + ar->r.header.parsed_content_length = r->content_length_n; } ar->r.body.done = 1; |