summaryrefslogtreecommitdiffhomepage
path: root/src/http/v3
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2022-11-30 14:09:08 +0400
committerRoman Arutyunyan <arut@nginx.com>2022-11-30 14:09:08 +0400
commit7e3aa23991cbab236617f15ab3602c1b43b2aae1 (patch)
tree7d6c4a186bf565f6559fb596fbfebff4ba903d09 /src/http/v3
parentfed44881d3bf5126b49144dba58f2830e0fe9866 (diff)
downloadnginx-7e3aa23991cbab236617f15ab3602c1b43b2aae1.tar.gz
nginx-7e3aa23991cbab236617f15ab3602c1b43b2aae1.tar.bz2
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.
Diffstat (limited to 'src/http/v3')
-rw-r--r--src/http/v3/ngx_http_v3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3.c b/src/http/v3/ngx_http_v3.c
index b9956e68f..70f397985 100644
--- a/src/http/v3/ngx_http_v3.c
+++ b/src/http/v3/ngx_http_v3.c
@@ -55,7 +55,6 @@ ngx_http_v3_init_session(ngx_connection_t *c)
h3c->keepalive.log = pc->log;
h3c->keepalive.data = pc;
h3c->keepalive.handler = ngx_http_v3_keepalive_handler;
- h3c->keepalive.cancelable = 1;
h3c->table.send_insert_count.log = pc->log;
h3c->table.send_insert_count.data = pc;