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:
parent
90eb83a307
commit
6cdaf85b89
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue