]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: undo 5a92523e50d3 after parser refactoring (e1eb7f4ca9f1).
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 1 Jun 2021 09:02:08 +0000 (12:02 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 1 Jun 2021 09:02:08 +0000 (12:02 +0300)
This is no longer needed after HTTP/3 request processing has moved
into its own function ngx_http_v3_process_header().

src/http/v3/ngx_http_v3_parse.c

index 40366e665d510f7b48d520bdbf737e95327cab46..21c73a24daa87a6af7de6148e222685c998cd24c 100644 (file)
@@ -783,7 +783,6 @@ ngx_http_v3_parse_header_l(ngx_connection_t *c,
 
         st->literal.length = st->pint.value;
         if (st->literal.length == 0) {
-            st->value.data = (u_char *) "";
             goto done;
         }