mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
openssl:support for user_ctx data structure to toggle SSL key logging dynamically
This commit is contained in:
parent
79e55bd6b5
commit
72608b5da3
1 changed files with 1 additions and 0 deletions
|
@ -1055,6 +1055,7 @@ lws_close_free_wsi(struct lws *wsi, enum lws_close_status reason, const char *ca
|
|||
struct lws_vhost *pVhost;
|
||||
VhostUsrInfo *pUsrInfo;
|
||||
|
||||
/* To get user data from usr_ctx to logg ssl keys without restart application */
|
||||
pVhost = lws_get_vhost(wsi);
|
||||
if(pVhost){
|
||||
pUsrInfo = (VhostUsrInfo *)lws_vhost_user(pVhost);
|
||||
|
|
Loading…
Add table
Reference in a new issue