diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-18 19:30:56 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-12 14:47:13 +0100 |
commit | 9cacba434b027bc6f3a3f3c4255c2453935e5357 (patch) | |
tree | 244af72fc1efc6c6f0f82ae71263761498baacfb /test | |
parent | c3a04ea2fdd073e55b57e70e4f17f3ccbaa8c8a6 (diff) | |
download | openssl-new-9cacba434b027bc6f3a3f3c4255c2453935e5357.tar.gz |
QUIC FIFD: Add support for callback on frame ACK
We need to get acknowledgement notifications for our STOP_SENDING and
STREAM_RESET frames as this information is needed to know when we can
delete a QUIC_STREAM object.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/quic_fifd_test.c b/test/quic_fifd_test.c index ccf01fb89b..bb0cd77105 100644 --- a/test/quic_fifd_test.c +++ b/test/quic_fifd_test.c @@ -40,6 +40,10 @@ static void regen_frame(uint64_t frame_type, uint64_t stream_id, regen_frame_p(frame_type, stream_id, pkt, arg); } +static void confirm_frame(uint64_t frame_type, uint64_t stream_id, + QUIC_TXPIM_PKT *pkt, void *arg) +{} + static void sstream_updated(uint64_t stream_id, void *arg) {} @@ -333,6 +337,7 @@ static int test_fifd(int idx) info.txpim, get_sstream_by_id, NULL, regen_frame, NULL, + confirm_frame, NULL, sstream_updated, NULL))) goto err; |