diff options
author | Badlop <badlop@process-one.net> | 2009-03-10 15:21:36 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-03-10 15:21:36 +0000 |
commit | d4b5e9463530d2c34c744e563bfc364a30116e74 (patch) | |
tree | f601c9a5541119b62e77304b13b665aee53b3861 /src/tls/tls_drv.c | |
parent | typo fix on roster access_model (diff) |
* src/tls/tls_drv.c: Fix encryption problem for ejabberd_http
after timeout (thanks to Alexey Shchepin)(EJAB-880)
SVN Revision: 1986
Diffstat (limited to '')
-rw-r--r-- | src/tls/tls_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/tls_drv.c b/src/tls/tls_drv.c index 25726260..8380ea75 100644 --- a/src/tls/tls_drv.c +++ b/src/tls/tls_drv.c @@ -344,6 +344,7 @@ static int tls_drv_control(ErlDrvData handle, res = SSL_CTX_check_private_key(ctx); die_unless(res > 0, "SSL_CTX_check_private_key failed"); + SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF); SSL_CTX_set_default_verify_paths(ctx); if (command == SET_CERTIFICATE_FILE_ACCEPT) |