mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Set SSL_MODE_RELEASE_BUFFERS mode when available (EJAB-1351)
This commit is contained in:
parent
6eeef62ce4
commit
97087eb3b9
@ -346,6 +346,9 @@ static int tls_drv_control(ErlDrvData handle,
|
||||
|
||||
SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF);
|
||||
SSL_CTX_set_default_verify_paths(ctx);
|
||||
#ifdef SSL_MODE_RELEASE_BUFFERS
|
||||
SSL_CTX_set_mode(ctx, SSL_MODE_RELEASE_BUFFERS);
|
||||
#endif
|
||||
|
||||
if (command == SET_CERTIFICATE_FILE_ACCEPT)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user