diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-18 19:30:55 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-12 14:47:12 +0100 |
commit | 5d27e7e9ae7135f8ba92498e3c4e7f9b77f2f8e3 (patch) | |
tree | c9cf4fcc867692c2c13d629a64961940a18d03db /test | |
parent | 13ac037d0148b6e461ca635bb1c627a4b759318a (diff) | |
download | openssl-new-5d27e7e9ae7135f8ba92498e3c4e7f9b77f2f8e3.tar.gz |
QUIC FIFD: Ensure QUIC_STREAM is updated after QUIC_SSTREAM loss
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_fifd_test.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/quic_fifd_test.c b/test/quic_fifd_test.c index d3d13bf53f..ccf01fb89b 100644 --- a/test/quic_fifd_test.c +++ b/test/quic_fifd_test.c @@ -40,6 +40,9 @@ static void regen_frame(uint64_t frame_type, uint64_t stream_id, regen_frame_p(frame_type, stream_id, pkt, arg); } +static void sstream_updated(uint64_t stream_id, void *arg) +{} + typedef struct info_st { QUIC_FIFD fifd; OSSL_ACKM *ackm; @@ -329,7 +332,8 @@ static int test_fifd(int idx) || !TEST_true(ossl_quic_fifd_init(&info.fifd, info.cfq, info.ackm, info.txpim, get_sstream_by_id, NULL, - regen_frame, NULL))) + regen_frame, NULL, + sstream_updated, NULL))) goto err; for (i = 0; i < OSSL_NELEM(info.sstream); ++i) |