]> git.ipfire.org Git - thirdparty/openssl.git/commit
QUIC APL: Defer default XSO 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:11 +0000 (14:47 +0100)
commit21c80696e51c2b183dad3b19aeb50fe26920f0aa
tree63c946b1d4646d33e7247e816ddc67280bd2d819
parentb757beb5f326ce4a7da021d0f4c52e03e37e1945
QUIC APL: Defer default XSO creation

QUIC in single-stream mode could be used with a protocol where the
server writes first or the client writes first. This determines
whether the single stream would be client or server initiated,
which affects the stream ID allocated to the stream. We should support
both client-sends-first and server-sends-first application protocols.
Thus, defer default XSO creation until the point in time at which
we know whether a client-first or server-first application protocol
is being used. We do this by taking whether SSL_read() or SSL_write()
is called first as a cue.

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
ssl/quic/quic_local.h