mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
client hs: fix segmentation fault
https://github.com/warmcat/libwebsockets/pull/3171
This commit is contained in:
parent
c571d22dba
commit
ca375a4cab
1 changed files with 2 additions and 0 deletions
|
@ -1255,6 +1255,8 @@ lws_generate_client_handshake(struct lws *wsi, char *pkt)
|
|||
// if (!wsi->client_pipeline)
|
||||
// conn1 = "close, ";
|
||||
p = lws_generate_client_ws_handshake(wsi, p, conn1);
|
||||
if (!p)
|
||||
return NULL;
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue