Don't hard-code the TLS connect timeout, use normal connect timeout.
For sudo_logsrvd, this is the relay connect_timeout setting. For sudoers, this is the log_server_timeout setting.
This commit is contained in:
@@ -30,6 +30,7 @@ struct tls_client_closure {
|
||||
struct sudo_event_base *evbase; /* duplicated */
|
||||
struct sudo_event *tls_connect_ev;
|
||||
struct peer_info *peer_name;
|
||||
struct timespec connect_timeout;
|
||||
bool (*start_fn)(struct tls_client_closure *);
|
||||
bool tls_connect_state;
|
||||
};
|
||||
|
Reference in New Issue
Block a user