[smuxi: 1/3] Server, Frontend-GNOME: workaround TLS/SSL negotiation caching issues on Mono (closes: #802)



commit a68dfb5fdf5fb425b2eef043dffb753b8aebbdce
Author: Mirco Bauer <meebey meebey net>
Date:   Thu May 21 16:39:14 2015 +0200

    Server, Frontend-GNOME: workaround TLS/SSL negotiation caching issues on Mono (closes: #802)
    
    The symptom usually is that the first TLS/SSL connect works but no following
    ones to a specific server.

 src/Frontend-GNOME/smuxi-frontend-gnome.in |    5 +++++
 src/Server/smuxi-server.in                 |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/Frontend-GNOME/smuxi-frontend-gnome.in b/src/Frontend-GNOME/smuxi-frontend-gnome.in
index b0af2e9..3422198 100644
--- a/src/Frontend-GNOME/smuxi-frontend-gnome.in
+++ b/src/Frontend-GNOME/smuxi-frontend-gnome.in
@@ -1,3 +1,8 @@
 #!/bin/sh
 
+# workaround TLS/SSL negotiation caching issues of Mono, see:
+# https://smuxi.im/issues/show/802
+MONO_TLS_SESSION_CACHE_TIMEOUT=0
+export MONO_TLS_SESSION_CACHE_TIMEOUT
+
 exec mono --debug "@expanded_libdir@/@PACKAGE@/smuxi-frontend-gnome.exe" "$@"
diff --git a/src/Server/smuxi-server.in b/src/Server/smuxi-server.in
index c10f1dc..48fc4c9 100644
--- a/src/Server/smuxi-server.in
+++ b/src/Server/smuxi-server.in
@@ -1,3 +1,8 @@
 #!/bin/sh
 
+# workaround TLS/SSL negotiation caching issues of Mono, see:
+# https://smuxi.im/issues/show/802
+MONO_TLS_SESSION_CACHE_TIMEOUT=0
+export MONO_TLS_SESSION_CACHE_TIMEOUT
+
 exec mono --debug "@expanded_libdir@/@PACKAGE@/smuxi-server.exe" "$@"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]