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

client perform WSI_CREATE callback

This commit is contained in:
bjqiwei 2016-03-15 16:24:58 +08:00 committed by Andy Green
parent c793944f17
commit 04935e28b0

View file

@ -170,6 +170,9 @@ lws_client_connect_2(struct lws *wsi)
* handling as oom4 does. We have to run the whole close flow.
*/
wsi->protocol->callback(wsi, LWS_CALLBACK_WSI_CREATE,
wsi->user_space, NULL, 0);
lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_CONNECT_RESPONSE,
AWAITING_TIMEOUT);