mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
ssl set ssl to NULL on close
This commit is contained in:
parent
765914cab1
commit
ad2248a207
1 changed files with 1 additions and 0 deletions
|
@ -515,6 +515,7 @@ lws_ssl_close(struct libwebsocket *wsi)
|
|||
SSL_shutdown(wsi->ssl);
|
||||
compatible_close(n);
|
||||
SSL_free(wsi->ssl);
|
||||
wsi->ssl = NULL;
|
||||
|
||||
return 1; /* handled */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue