From d97c2307b3a831070b2dc27eb59e0cf899d67c19 Mon Sep 17 00:00:00 2001 From: Hakase Date: Fri, 9 Jun 2023 13:27:01 +0900 Subject: [PATCH] Fixed push_header error --- src/http/v2/ngx_http_v2_filter_module.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/http/v2/ngx_http_v2_filter_module.c b/src/http/v2/ngx_http_v2_filter_module.c index 581ac03..a3dc06d 100644 --- a/src/http/v2/ngx_http_v2_filter_module.c +++ b/src/http/v2/ngx_http_v2_filter_module.c @@ -59,17 +59,6 @@ #define NGX_HTTP_V2_NO_TRAILERS (ngx_http_v2_out_frame_t *) -1 -static const struct { - u_char *name; - u_char const len; -} push_header[] = { - { (u_char*)":authority" , 10 }, - { (u_char*)"accept-encoding" , 15 }, - { (u_char*)"accept-language" , 15 }, - { (u_char*)"user-agent" , 10 } -}; - - static ngx_http_v2_out_frame_t *ngx_http_v2_create_headers_frame( ngx_http_request_t *r, u_char *pos, u_char *end, ngx_uint_t fin); static ngx_http_v2_out_frame_t *ngx_http_v2_create_trailers_frame(