Browse Source

server: set a proper reset time, not zero, which was only for testing

ambrop7 14 years ago
parent
commit
6c1c01fb66
1 changed files with 1 additions and 2 deletions
  1. 1 2
      server/server.h

+ 1 - 2
server/server.h

@@ -50,8 +50,7 @@
 // SO_SNDBFUF socket option for clients
 // SO_SNDBFUF socket option for clients
 #define CLIENT_DEFAULT_SOCKET_SNDBUF 16384
 #define CLIENT_DEFAULT_SOCKET_SNDBUF 16384
 // reset time when a buffer runs out or when we get the resetpeer message
 // reset time when a buffer runs out or when we get the resetpeer message
-//#define CLIENT_RESET_TIME 30000
-#define CLIENT_RESET_TIME 0
+#define CLIENT_RESET_TIME 30000
 
 
 // maxiumum listen addresses
 // maxiumum listen addresses
 #define MAX_LISTEN_ADDRS 16
 #define MAX_LISTEN_ADDRS 16