comparison src/http/v3/ngx_http_v3.c @ 9108:f742b1b46901 quic

HTTP/3: removed server push support.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 12 May 2023 10:02:10 +0400
parents 394e9a2cefc4
children 4939fd04737f
comparison
equal deleted inserted replaced
9107:adcc6d8acfd4 9108:f742b1b46901
28 h3c = ngx_pcalloc(c->pool, sizeof(ngx_http_v3_session_t)); 28 h3c = ngx_pcalloc(c->pool, sizeof(ngx_http_v3_session_t));
29 if (h3c == NULL) { 29 if (h3c == NULL) {
30 goto failed; 30 goto failed;
31 } 31 }
32 32
33 h3c->max_push_id = (uint64_t) -1;
34 h3c->goaway_push_id = (uint64_t) -1;
35
36 ngx_queue_init(&h3c->blocked); 33 ngx_queue_init(&h3c->blocked);
37 ngx_queue_init(&h3c->pushing);
38 34
39 h3c->keepalive.log = c->log; 35 h3c->keepalive.log = c->log;
40 h3c->keepalive.data = c; 36 h3c->keepalive.data = c;
41 h3c->keepalive.handler = ngx_http_v3_keepalive_handler; 37 h3c->keepalive.handler = ngx_http_v3_keepalive_handler;
42 38