mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ws: tell caller we closed wsi on handshake failure
https://github.com/warmcat/libwebsockets/issues/2681
This commit is contained in:
parent
ea3a0ab9e0
commit
0a5526b958
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ hs2:
|
|||
lwsl_err("Failed to generate handshake for client\n");
|
||||
lws_close_free_wsi(wsi, LWS_CLOSE_STATUS_NOSTATUS,
|
||||
"chs");
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* send our request to the server */
|
||||
|
|
Loading…
Add table
Reference in a new issue