]> git.ipfire.org Git - thirdparty/openssl.git/commit - ssl/quic/quic_channel.c
Add minimal handling of NEW_CONNECTION_ID frames
authorTomas Mraz <tomas@openssl.org>
Fri, 5 May 2023 14:51:28 +0000 (16:51 +0200)
committerHugo Landau <hlandau@openssl.org>
Wed, 17 May 2023 13:04:18 +0000 (14:04 +0100)
commiteff046524b970243196d4622d20ffb8e0aeb208b
treed2c975ac8b7334c0d9b75d51b597765dab3c1a09
parentdbca844cb3e74b19acf46eb9a2222d30802ad642
Add minimal handling of NEW_CONNECTION_ID frames

We actively use only the latest DCID received. And retire only
DCIDs requested by the peer to be retired.

Also changed the active_conn_id_limit to 2 as the minimum value allowed.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)
include/internal/quic_channel.h
ssl/quic/quic_channel.c
ssl/quic/quic_channel_local.h
ssl/quic/quic_rx_depack.c
ssl/quic/quic_wire.c