QUIC MSMT: macOS robustness fixes

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)
This commit is contained in:
Hugo Landau 2023-05-02 17:59:04 +01:00
parent faa3a180ef
commit 7ba8f79a0f

View File

@ -625,11 +625,11 @@ static int run_script_worker(struct helper *h, const struct script_op *script,
s_stream_id = UINT64_MAX; s_stream_id = UINT64_MAX;
} }
if (thread_idx < 0) { if (thread_idx < 0)
ossl_quic_tserver_tick(h->s); ossl_quic_tserver_tick(h->s);
if (connect_started)
if (thread_idx >= 0 || connect_started)
SSL_tick(h->c_conn); SSL_tick(h->c_conn);
}
if (thread_idx >= 0) { if (thread_idx >= 0) {
/* Only allow certain opcodes on child threads. */ /* Only allow certain opcodes on child threads. */