summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:55 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:12 +0100
commit90cecc406f58b229ffa9c8e8473eaa6924c4a5d5 (patch)
treec02a56da8c5bccb7b033be06e55ec825773ed6ca /test
parenta6b6ea17376572e3c0227b98f21dedc48215aa9a (diff)
downloadopenssl-new-90cecc406f58b229ffa9c8e8473eaa6924c4a5d5.tar.gz
QUIC RXDP/QSM: Enforce MAX_STREAMS
Also use accept queue popping by the application as the retirement event, i.e., as the cue to increase the limit. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'test')
-rw-r--r--test/quic_txp_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/quic_txp_test.c b/test/quic_txp_test.c
index dd85bb5692..dca8c71398 100644
--- a/test/quic_txp_test.c
+++ b/test/quic_txp_test.c
@@ -174,7 +174,9 @@ static int helper_init(struct helper *h)
h->cc_data)))
goto err;
- if (!TEST_true(ossl_quic_stream_map_init(&h->qsm, NULL, NULL)))
+ if (!TEST_true(ossl_quic_stream_map_init(&h->qsm, NULL, NULL,
+ &h->max_streams_bidi_rxfc,
+ &h->max_streams_uni_rxfc)))
goto err;
h->have_qsm = 1;