From 59d42a9fcb59922d2911936363abf7d096e72af9 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 28 Mar 2016 02:32:05 -0500 Subject: [PATCH] ircd/authd: use proper timeout values for clients --- ircd/authd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/authd.c b/ircd/authd.c index db646363..fa7e77f7 100644 --- a/ircd/authd.c +++ b/ircd/authd.c @@ -403,8 +403,8 @@ authd_initiate_client(struct Client *client_p) #endif client_port = ntohs(((struct sockaddr_in *)&client_p->localClient->ip)->sin_port); - /* FIXME timeout should be configurable */ - client_p->preClient->authd_timeout = rb_current_time() + 45; + /* Add a bit of a fudge factor... */ + client_p->preClient->authd_timeout = rb_current_time() + ConfigFileEntry.connect_timeout + 5; rb_helper_write(authd_helper, "C %x %s %hu %s %hu", authd_cid, listen_ipaddr, listen_port, client_ipaddr, client_port); }