Forráskód Böngészése

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


svn: 1502

Bryan Drewery 21 éve
szülő
commit
cf19e88ab0
1 módosított fájl, 2 hozzáadás és 3 törlés
  1. 2 3
      src/dccutil.c

+ 2 - 3
src/dccutil.c

@@ -30,9 +30,8 @@
 
 
 static struct portmap 	*root = NULL;
 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;
 static int         dcc_flood_thr = 3;