mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
h1: deal with WAITING_CONNECT in ops-h1
We don't normally see events on the wsi in this state, but it is possible since warmcat.com lwsws asserted on it in WAITING_CONNECT. Explicitly handle it so we don't blow up.
This commit is contained in:
parent
32698a2f4b
commit
717272d65d
1 changed files with 3 additions and 0 deletions
|
@ -292,6 +292,9 @@ ws_mode:
|
|||
// assert(0);
|
||||
/* fallthru */
|
||||
|
||||
case LRS_WAITING_CONNECT: /* observed on warmcat.com */
|
||||
break;
|
||||
|
||||
default:
|
||||
lwsl_err("%s: Unhandled state %d\n", __func__, lwsi_state(wsi));
|
||||
assert(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue