mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
Pass user_sapce to callback for LWS_CALLBACK_CLIENT_CONNECTION_ERROR
This commit is contained in:
parent
c00675cafb
commit
fd9e90242f
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ libwebsocket_close_and_free_session(struct libwebsocket_context *context,
|
|||
wsi->mode == LWS_CONNMODE_WS_CLIENT_ISSUE_HANDSHAKE) {
|
||||
|
||||
context->protocols[0].callback(context, wsi,
|
||||
LWS_CALLBACK_CLIENT_CONNECTION_ERROR, NULL, NULL, 0);
|
||||
LWS_CALLBACK_CLIENT_CONNECTION_ERROR, wsi->user_space, NULL, 0);
|
||||
|
||||
free(wsi->u.hdr.ah);
|
||||
goto just_kill_connection;
|
||||
|
|
Loading…
Add table
Reference in a new issue