Browse Source

tls: removed handshake_timeout and send_timeout

Removed the handshake_timeout and send_timeout parameters.
The values from tcp are used instead (tcp_connect_timeout and
 tcp_send_timeout).
Andrei Pelinescu-Onciul 15 năm trước cách đây
mục cha
commit
3def48dce7
2 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 3
      modules/tls/tls_mod.c
  2. 0 2
      modules/tls/tls_mod.h

+ 0 - 3
modules/tls/tls_mod.c

@@ -172,7 +172,6 @@ tls_domain_t cli_defaults = {
 static str tls_method = STR_STATIC_INIT("TLSv1");
 
 
-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;
@@ -239,8 +238,6 @@ static param_export_t params[] = {
 	{"ca_list",             PARAM_STR,    &mod_params.ca_file     },
 	{"certificate",         PARAM_STR,    &mod_params.cert_file   },
 	{"cipher_list",         PARAM_STR,    &mod_params.cipher_list },
-	{"handshake_timeout",   PARAM_INT,    &tls_handshake_timeout  },
-	{"send_timeout",        PARAM_INT,    &tls_send_timeout       },
 	{"connection_timeout",  PARAM_INT,    &tls_con_lifetime       },
 	{"tls_log",             PARAM_INT,    &tls_log                },
 	{"session_cache",       PARAM_INT,    &tls_session_cache      },

+ 0 - 2
modules/tls/tls_mod.h

@@ -43,8 +43,6 @@
 #include "../../locking.h"
 #include "tls_domain.h"
 
-extern int tls_handshake_timeout;
-extern int tls_send_timeout;
 extern int tls_con_lifetime;
 extern int tls_log;
 extern int tls_session_cache;