server check cb return during establish
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
da46eeea6b
commit
77ec61e44f
1 changed files with 6 additions and 5 deletions
|
@ -256,14 +256,15 @@ handshake_0405(struct lws_context *context, struct lws *wsi)
|
|||
/* notify user code that we're ready to roll */
|
||||
|
||||
if (wsi->protocol->callback)
|
||||
wsi->protocol->callback(wsi, LWS_CALLBACK_ESTABLISHED,
|
||||
wsi->user_space,
|
||||
if (wsi->protocol->callback(wsi, LWS_CALLBACK_ESTABLISHED,
|
||||
wsi->user_space,
|
||||
#ifdef LWS_OPENSSL_SUPPORT
|
||||
wsi->ssl,
|
||||
wsi->ssl,
|
||||
#else
|
||||
NULL,
|
||||
NULL,
|
||||
#endif
|
||||
0);
|
||||
0))
|
||||
goto bail;
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue