comparison src/event/quic/ngx_event_quic_output.c @ 8815:d8865baab732 quic

QUIC: removed draft versions support.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 26 Jan 2022 14:15:40 +0300
parents 4646a981111f
children da24a78720eb
comparison
equal deleted inserted replaced
8814:3d0fc72d409e 8815:d8865baab732
948 pkt.keys = ngx_quic_keys_new(c->pool); 948 pkt.keys = ngx_quic_keys_new(c->pool);
949 if (pkt.keys == NULL) { 949 if (pkt.keys == NULL) {
950 return NGX_ERROR; 950 return NGX_ERROR;
951 } 951 }
952 952
953 if (ngx_quic_keys_set_initial_secret(c->pool, pkt.keys, &inpkt->dcid, 953 if (ngx_quic_keys_set_initial_secret(c->pool, pkt.keys, &inpkt->dcid)
954 inpkt->version)
955 != NGX_OK) 954 != NGX_OK)
956 { 955 {
957 return NGX_ERROR; 956 return NGX_ERROR;
958 } 957 }
959 958