1
0
Fork 0
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:
AD001\z0048zxj 2024-11-06 16:10:45 +05:30
parent 79e55bd6b5
commit 72608b5da3

View file

@ -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);