tune udp conn pool size

This commit is contained in:
Max Lv
2015-09-09 09:05:42 +08:00
parent f19390724b
commit 226cfa2973
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
#define MAX_CONF_SIZE 128 * 1024
#define MAX_DNS_NUM 4
#define MAX_CONNECT_TIMEOUT 10
#define MIN_UDP_TIMEOUT 60
#define MIN_UDP_TIMEOUT 10
typedef struct {
char *host;
+1 -1
View File
@@ -62,7 +62,7 @@
#include "udprelay.h"
#ifdef UDPRELAY_REMOTE
#define MAX_UDP_CONN_NUM 1024
#define MAX_UDP_CONN_NUM 512
#else
#define MAX_UDP_CONN_NUM 256
#endif