From 24758bd479ce9005b8ffb0de4035fee6c8c68a01 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 10 Feb 2022 08:03:54 +0000 Subject: [PATCH] ss: POLL to all retries failed is possible It's possible we started POLL, but no connection could happen for some reason, and we end in the window between POLL and trying the connection. --- lib/secure-streams/secure-streams.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/secure-streams/secure-streams.c b/lib/secure-streams/secure-streams.c index 5572d5442..7634064ea 100644 --- a/lib/secure-streams/secure-streams.c +++ b/lib/secure-streams/secure-streams.c @@ -136,6 +136,7 @@ const uint32_t ss_state_txn_validity[] = { [LWSSSCS_POLL] = (1 << LWSSSCS_CONNECTING) | (1 << LWSSSCS_TIMEOUT) | + (1 << LWSSSCS_ALL_RETRIES_FAILED) | (1 << LWSSSCS_DESTROYING), [LWSSSCS_ALL_RETRIES_FAILED] = (1 << LWSSSCS_CONNECTING) |