]> git.ipfire.org Git - thirdparty/openssl.git/commit
QUIC APL: Create QUIC CHANNEL up front rather than deferring creation
authorHugo Landau <hlandau@openssl.org>
Tue, 18 Apr 2023 18:30:54 +0000 (19:30 +0100)
committerHugo Landau <hlandau@openssl.org>
Fri, 12 May 2023 13:47:10 +0000 (14:47 +0100)
commit23c047090cde899059fb7489e1a35124ca7b5e8a
tree13d865d0e2a0fc982231e3d257b049b066d570b9
parentdfb9ae14a44251553d4f4046ff1eb41608b3cca4
QUIC APL: Create QUIC CHANNEL up front rather than deferring creation

We switch to instantiating the QUIC_CHANNEL up front at QCSO
instantiation time. This creates the QUIC_STREAM_MAP early and makes it
easy for us to allocate streams prior to connection initiation. The role
(client or server) is determined at QCSO allocation time and cannot be
changed.

SSL_set_connect/accept_state() are still modelled but their usage must
be consistent with the chosen SSL_METHOD which dictates which role is
being used.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)
ssl/quic/quic_impl.c