Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3.c @ 9056:be39ffdf9208 quic
QUIC: removed cancelable flag from QUIC and HTTP/3 events.
All these events are created in context of a client connection and are deleted
when the connection is closed. Setting ev->cancelable could trigger premature
connection closure and a socket leak alert.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 30 Nov 2022 14:09:08 +0400 |
parents | 6546c2ae1c7b |
children | b0c2234aaa9f |
comparison
equal
deleted
inserted
replaced
9055:1192923be0aa | 9056:be39ffdf9208 |
---|---|
53 ngx_queue_init(&h3c->pushing); | 53 ngx_queue_init(&h3c->pushing); |
54 | 54 |
55 h3c->keepalive.log = pc->log; | 55 h3c->keepalive.log = pc->log; |
56 h3c->keepalive.data = pc; | 56 h3c->keepalive.data = pc; |
57 h3c->keepalive.handler = ngx_http_v3_keepalive_handler; | 57 h3c->keepalive.handler = ngx_http_v3_keepalive_handler; |
58 h3c->keepalive.cancelable = 1; | |
59 | 58 |
60 h3c->table.send_insert_count.log = pc->log; | 59 h3c->table.send_insert_count.log = pc->log; |
61 h3c->table.send_insert_count.data = pc; | 60 h3c->table.send_insert_count.data = pc; |
62 h3c->table.send_insert_count.handler = ngx_http_v3_inc_insert_count_handler; | 61 h3c->table.send_insert_count.handler = ngx_http_v3_inc_insert_count_handler; |
63 | 62 |