From 9cacba434b027bc6f3a3f3c4255c2453935e5357 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Tue, 18 Apr 2023 19:30:56 +0100 Subject: 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 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20765) --- test/quic_fifd_test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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; -- cgit v1.2.1