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

ss: proxy: make sure state is always available in ssi

This commit is contained in:
Andy Green 2020-07-10 19:00:24 +01:00
parent 2b20f62e55
commit 0371f8341d

View file

@ -344,8 +344,8 @@ callback_ss_proxy(struct lws *wsi, enum lws_callback_reasons reason,
offsetof(ss_proxy_t, conn);
ssi.rx = ss_proxy_onward_rx;
ssi.tx = ss_proxy_onward_tx;
ssi.state = ss_proxy_onward_state;
}
ssi.state = ss_proxy_onward_state;
if (lws_ss_deserialize_parse(&conn->parser,
lws_get_context(wsi), conn->dsh, in, len,