diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-28 17:56:34 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-24 11:34:47 +0200 |
commit | 5915a900af86db8625caa77a02fd50cf9a3b3e1b (patch) | |
tree | e5b1eb84756d90e850855f3452cbbd2827e7e7bb /include | |
parent | QUIC MSMT: Stress tests, support for repeating test opoerations (diff) | |
download | openssl-5915a900af86db8625caa77a02fd50cf9a3b3e1b.tar.xz openssl-5915a900af86db8625caa77a02fd50cf9a3b3e1b.zip |
QUIC QSM: Allow QSM to know if we are in the server role
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_stream_map.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/internal/quic_stream_map.h b/include/internal/quic_stream_map.h index 1af0c57d1e..7d2356c22d 100644 --- a/include/internal/quic_stream_map.h +++ b/include/internal/quic_stream_map.h @@ -255,6 +255,7 @@ typedef struct quic_stream_map_st { void *get_stream_limit_cb_arg; QUIC_RXFC *max_streams_bidi_rxfc; QUIC_RXFC *max_streams_uni_rxfc; + int is_server; } QUIC_STREAM_MAP; /* @@ -274,7 +275,8 @@ int ossl_quic_stream_map_init(QUIC_STREAM_MAP *qsm, uint64_t (*get_stream_limit_cb)(int uni, void *arg), void *get_stream_limit_cb_arg, QUIC_RXFC *max_streams_bidi_rxfc, - QUIC_RXFC *max_streams_uni_rxfc); + QUIC_RXFC *max_streams_uni_rxfc, + int is_server); /* * Any streams still in the map will be released as though |