Pārlūkot izejas kodu

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 16 gadi atpakaļ
vecāks
revīzija
2701984ddd
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      modules/tls/tls_mod.c

+ 2 - 2
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;