Module: sip-router
Branch: master
Commit: 2701984ddd24dd074c2e29b6ac6ea22faffdb1b1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2701984…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Sat Mar 28 12:13:24 2009 +0100
Use shorter default send and SSL handshake timeouts
Instead of 120 seconds we use use 30 seconds by default for both SSL
handshake timeouts and send timeouts, this way the server can detect
connection problems faster.
---
modules/tls/tls_mod.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/tls/tls_mod.c b/modules/tls/tls_mod.c
index f3f56b1..436785f 100644
--- a/modules/tls/tls_mod.c
+++ b/modules/tls/tls_mod.c
@@ -167,8 +167,8 @@ tls_domain_t cli_defaults = {
static str tls_method = STR_STATIC_INIT("TLSv1");
-int tls_handshake_timeout = 120;
-int tls_send_timeout = 120;
+int tls_handshake_timeout = 30;
+int tls_send_timeout = 30;
int tls_con_lifetime = 600; /* this value will be adjusted to ticks later */
int tls_log = 3;
int tls_session_cache = 0;