From 8d560a562f3680bd364fd2c9e632c1742853b2a1 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 35e63bb33..c74d229ce 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) |