Mercurial > hg > nginx
changeset 8329:7bd334b8d91a quic
HTTP/3: fixed reading request body.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 13 Apr 2020 17:54:23 +0300 |
parents | e76be8639621 |
children | 5b7ec588de48 |
files | src/http/v3/ngx_http_v3_request.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3_request.c Tue Apr 07 15:50:38 2020 +0300 +++ b/src/http/v3/ngx_http_v3_request.c Mon Apr 13 17:54:23 2020 +0300 @@ -265,7 +265,8 @@ } 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) {