summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-01-26 14:15:40 +0300
committerSergey Kandaurov <pluknet@nginx.com>2022-01-26 14:15:40 +0300
commit846a386c7ebc78424ed14993e28d30d26bd26318 (patch)
tree496f6403a96639f4fc0ad681de89821d54b40013 /src/event/quic/ngx_event_quic.c
parent5efdec71581f9402dd7132267d68240ab2f8870b (diff)
downloadnginx-846a386c7ebc78424ed14993e28d30d26bd26318.tar.gz
nginx-846a386c7ebc78424ed14993e28d30d26bd26318.tar.bz2
QUIC: removed draft versions support.
Diffstat (limited to '')
-rw-r--r--src/event/quic/ngx_event_quic.c3
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;