]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC PORT: Ensure reactor waits for listening port correctly
authorHugo Landau <hlandau@openssl.org>
Thu, 4 Apr 2024 11:04:26 +0000 (12:04 +0100)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

ssl/quic/quic_impl.c
ssl/quic/quic_port.c

index d6a39fc9f8bb7c1c674bcf23ade402eb7a3d9e87..0d61bc949d6ae7f28a34bd455875c472472dc0ea 100644 (file)
@@ -364,7 +364,6 @@ err:
     return ok;
 }
 
-
 static int expect_quic_cs(const SSL *s, QCTX *ctx)
 {
     return expect_quic_as(s, ctx, QCTX_C | QCTX_S);
index 52f17d3b3172701f4ab0877db6b59c955bdba1aa..594d37cb01aabba93c55d12fb9b58ed0ffeab8a6 100644 (file)
@@ -480,7 +480,7 @@ void ossl_quic_port_subtick(QUIC_PORT *port, QUIC_TICK_RESULT *res,
 {
     QUIC_CHANNEL *ch;
 
-    res->net_read_desired   = 0;
+    res->net_read_desired   = ossl_quic_port_is_running(port);
     res->net_write_desired  = 0;
     res->tick_deadline      = ossl_time_infinite();