Browse code

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.

Jan Janak authored on 28/03/2009 11:13:24
Showing 1 changed files
... ...
@@ -167,8 +167,8 @@ tls_domain_t cli_defaults = {
167 167
 static str tls_method = STR_STATIC_INIT("TLSv1");
168 168
 
169 169
 
170
-int tls_handshake_timeout = 120;
171
-int tls_send_timeout = 120;
170
+int tls_handshake_timeout = 30;
171
+int tls_send_timeout = 30;
172 172
 int tls_con_lifetime = 600; /* this value will be adjusted to ticks later */
173 173
 int tls_log = 3;
174 174
 int tls_session_cache = 0;