Explorar o código

* Let outbound telnet connections timeout after 40 seconds
Need to allow time for dns/ident checking on other end


svn: 1502

Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
cf19e88ab0
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      src/dccutil.c

+ 2 - 3
src/dccutil.c

@@ -30,9 +30,8 @@
 
 static struct portmap 	*root = NULL;
 
-time_t	connect_timeout = 15;		/* How long to wait before a telnet
-					   connection times out */
-int         max_dcc = 200;
+time_t	connect_timeout = 40;		/* How long to wait before a telnet connection times out */
+int     max_dcc = 200;
 
 static int         dcc_flood_thr = 3;