HTTP/3: fixed reading request body.

This commit is contained in:
Roman Arutyunyan 2020-04-13 17:54:23 +03:00
parent c64a3939e4
commit b77fd3dc58

View File

@ -265,7 +265,8 @@ ngx_http_v3_parse_request_body(ngx_http_request_t *r, ngx_buf_t *b,
}
if (ctx->size) {
return NGX_OK;
ctx->length = ctx->size + 1;
return (b->pos == b->last) ? NGX_AGAIN : NGX_OK;
}
while (b->pos < b->last) {