diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2022-11-30 14:09:08 +0400 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2022-11-30 14:09:08 +0400 |
| commit | 7e3aa23991cbab236617f15ab3602c1b43b2aae1 (patch) | |
| tree | 7d6c4a186bf565f6559fb596fbfebff4ba903d09 /src/event | |
| parent | fed44881d3bf5126b49144dba58f2830e0fe9866 (diff) | |
| download | nginx-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/event')
| -rw-r--r-- | src/event/quic/ngx_event_quic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index a28f5a7ac..9b342d7de 100644 --- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -275,22 +275,18 @@ ngx_quic_new_connection(ngx_connection_t *c, ngx_quic_conf_t *conf, qc->pto.log = c->log; qc->pto.data = c; qc->pto.handler = ngx_quic_pto_handler; - qc->pto.cancelable = 1; qc->push.log = c->log; qc->push.data = c; qc->push.handler = ngx_quic_push_handler; - qc->push.cancelable = 1; qc->close.log = c->log; qc->close.data = c; qc->close.handler = ngx_quic_close_handler; - qc->close.cancelable = 1; qc->path_validation.log = c->log; qc->path_validation.data = c; qc->path_validation.handler = ngx_quic_path_validation_handler; - qc->path_validation.cancelable = 1; qc->conf = conf; |
