Explorar el Código

tun2socks: change default udpgw parameters

ambrop7 hace 14 años
padre
commit
27fbb0818e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      tun2socks/tun2socks.h

+ 2 - 2
tun2socks/tun2socks.h

@@ -31,10 +31,10 @@
 #define CLIENT_SOCKS_RECV_BUF_SIZE 8192
 
 // maximum number of udpgw connections
-#define DEFAULT_UDPGW_MAX_CONNECTIONS 512
+#define DEFAULT_UDPGW_MAX_CONNECTIONS 256
 
 // udpgw per-connection send buffer size, in number of packets
-#define DEFAULT_UDPGW_CONNECTION_BUFFER_SIZE 4
+#define DEFAULT_UDPGW_CONNECTION_BUFFER_SIZE 8
 
 // udpgw reconnect time after connection fails
 #define UDPGW_RECONNECT_TIME 5000