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);
|
SSL_shutdown(wsi->ssl);
|
||||||
compatible_close(n);
|
compatible_close(n);
|
||||||
SSL_free(wsi->ssl);
|
SSL_free(wsi->ssl);
|
||||||
|
wsi->ssl = NULL;
|
||||||
|
|
||||||
return 1; /* handled */
|
return 1; /* handled */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue