1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

ss: allow POLL from CONNECTING

Since CONNECTING is async and may take a while, there's nothing actually
wrong if the application asks to write again in the meanwhile and provokes
POLL.
This commit is contained in:
Andy Green 2021-09-29 06:24:05 +01:00
parent 90eb83a307
commit 6cdaf85b89

View file

@ -128,6 +128,7 @@ const uint32_t ss_state_txn_validity[] = {
(1 << LWSSSCS_CONNECTING) |
(1 << LWSSSCS_CONNECTED) |
(1 << LWSSSCS_TIMEOUT) |
(1 << LWSSSCS_POLL) |
(1 << LWSSSCS_DISCONNECTED) | /* proxy retry */
(1 << LWSSSCS_DESTROYING),