Added an explicit yield (OP_SLEEP) to QUIC testing for cooperative threading.

Fixes: #24442

Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24443)
This commit is contained in:
Randall S. Becker 2024-05-20 22:23:04 +00:00 committed by Tomas Mraz
parent a0da3cb468
commit b9e084f139
1 changed files with 1 additions and 0 deletions

View File

@ -2376,6 +2376,7 @@ static const struct script_op script_10[] = {
static const struct script_op script_11_child[] = {
OP_C_ACCEPT_STREAM_WAIT (a)
OP_C_READ_EXPECT (a, "foo", 3)
OP_SLEEP (10)
OP_C_EXPECT_FIN (a)
OP_END