Latest update - 9153
This commit is contained in:
@@ -1110,7 +1110,7 @@ ngx_quic_discard_ctx(ngx_connection_t *c, enum ssl_encryption_level_t level)
|
||||
}
|
||||
|
||||
if (level == ssl_encryption_initial) {
|
||||
/* close temporary listener with odcid */
|
||||
/* close temporary listener with initial dcid */
|
||||
qsock = ngx_quic_find_socket(c, NGX_QUIC_UNSET_PN);
|
||||
if (qsock) {
|
||||
ngx_quic_close_socket(c, qsock);
|
||||
|
||||
@@ -93,8 +93,8 @@ ngx_quic_open_sockets(ngx_connection_t *c, ngx_quic_connection_t *qc,
|
||||
|
||||
tmp->sid.seqnum = NGX_QUIC_UNSET_PN; /* temporary socket */
|
||||
|
||||
ngx_memcpy(tmp->sid.id, pkt->odcid.data, pkt->odcid.len);
|
||||
tmp->sid.len = pkt->odcid.len;
|
||||
ngx_memcpy(tmp->sid.id, pkt->dcid.data, pkt->dcid.len);
|
||||
tmp->sid.len = pkt->dcid.len;
|
||||
|
||||
if (ngx_quic_listen(c, qc, tmp) != NGX_OK) {
|
||||
goto failed;
|
||||
|
||||
Reference in New Issue
Block a user