From: Bernd Edlinger Date: Tue, 25 Mar 2025 15:57:32 +0000 (+0100) Subject: Fix quic_multistream_test: correct more frame types X-Git-Tag: openssl-3.3.4~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=226b702aff53fcd8873a7236e936ffe8fcec6794;p=thirdparty%2Fopenssl.git 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) --- diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index 35b709eca14..9659d84d81e 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -2837,9 +2837,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;