mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-16 00:03:45 +00:00
1. Updated ALPN support to work better with NodeJS 6.0.0
2. Added servername property on tls.socket
This commit is contained in:
@@ -2256,6 +2256,10 @@ SSL_CTX *ILibAsyncSocket_GetSSLContext(ILibAsyncSocket_SocketModule socketModule
|
||||
struct ILibAsyncSocketModule* module = (struct ILibAsyncSocketModule*)socketModule;
|
||||
return module->ssl_ctx;
|
||||
}
|
||||
SSL* ILibAsyncSocket_GetSSL(ILibAsyncSocket_SocketModule socketModule)
|
||||
{
|
||||
return(((ILibAsyncSocketModule*)socketModule)->ssl);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user