mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 22:26:15 +08:00
HTTP/3: fixed reading request body.
This commit is contained in:
parent
c64a3939e4
commit
b77fd3dc58
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user