diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2022-01-26 14:15:40 +0300 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2022-01-26 14:15:40 +0300 |
| commit | 846a386c7ebc78424ed14993e28d30d26bd26318 (patch) | |
| tree | 496f6403a96639f4fc0ad681de89821d54b40013 /src/event/quic/ngx_event_quic.c | |
| parent | 5efdec71581f9402dd7132267d68240ab2f8870b (diff) | |
| download | nginx-846a386c7ebc78424ed14993e28d30d26bd26318.tar.gz nginx-846a386c7ebc78424ed14993e28d30d26bd26318.tar.bz2 | |
QUIC: removed draft versions support.
Diffstat (limited to '')
| -rw-r--r-- | src/event/quic/ngx_event_quic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index 544cbd3cb..f1d96a58a 100644 --- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -329,8 +329,7 @@ ngx_quic_new_connection(ngx_connection_t *c, ngx_quic_conf_t *conf, } } - if (ngx_quic_keys_set_initial_secret(c->pool, qc->keys, &pkt->dcid, - qc->version) + if (ngx_quic_keys_set_initial_secret(c->pool, qc->keys, &pkt->dcid) != NGX_OK) { return NULL; |
