From 9fbfb28ac6e5e4ad05735fa295dec12e11216a9a Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Tue, 25 Mar 2025 16:57:32 +0100 Subject: [PATCH] Fix quic_multistream_test: correct more frame types There are a few more critical frame injections that previously created an out-of-diskspace problem and now only a CI test failure. The pattern in the qlog files is always similar to this: {"frame_type":"stop_sending","stream_id":6,"error_code":1152,"length":4}, {"frame_type":"path_challenge","length":9},...{} Note: The stream_id 6 is a OSSL_QUIC_FRAME_TYPE_CRYPTO. Reviewed-by: Tim Hudson Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27170) (cherry picked from commit 8ed3eee3b416d0bff4890bba24af4a7a1839bf78) --- test/quic_multistream_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index b9a09460903..cd7584fd740 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -2842,9 +2842,12 @@ static int script_21_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, switch (h->inject_word1) { case OSSL_QUIC_FRAME_TYPE_PATH_CHALLENGE: + case OSSL_QUIC_FRAME_TYPE_PATH_RESPONSE: if (!TEST_true(WPACKET_put_bytes_u64(&wpkt, (uint64_t)0))) goto err; break; + case OSSL_QUIC_FRAME_TYPE_STOP_SENDING: + case OSSL_QUIC_FRAME_TYPE_MAX_STREAM_DATA: case OSSL_QUIC_FRAME_TYPE_STREAM_DATA_BLOCKED: if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0))) goto err; -- 2.47.2