Fixed push_header error
This commit is contained in:
@@ -59,17 +59,6 @@
|
|||||||
#define NGX_HTTP_V2_NO_TRAILERS (ngx_http_v2_out_frame_t *) -1
|
#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(
|
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);
|
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(
|
static ngx_http_v2_out_frame_t *ngx_http_v2_create_trailers_frame(
|
||||||
|
|||||||
Reference in New Issue
Block a user