]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: fixed context storage in request body parser.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 18 Aug 2020 14:11:32 +0000 (17:11 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 18 Aug 2020 14:11:32 +0000 (17:11 +0300)
src/http/v3/ngx_http_v3_request.c

index a0259be11c58a3d8815738348020f88e89272d99..24ad771d646b8f62672867b86b00be4971d5dc63 100644 (file)
@@ -392,7 +392,7 @@ ngx_http_v3_parse_request_body(ngx_http_request_t *r, ngx_buf_t *b,
             goto failed;
         }
 
-        r->h3_parse = st;
+        ctx->h3_parse = st;
     }
 
     if (ctx->size) {