修改socket缓存默认配置

pull/395/head
王昂 3 years ago
parent b11539062b
commit 9dabe1828a

@ -54,13 +54,13 @@
#define CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS -1 #define CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS -1
/* set socket buffer size. 1 -> enable */ /* set socket buffer size. 1 -> enable */
#define CONFIG_SET_SOCKET_BUFSIZE 0 #define CONFIG_SET_SOCKET_BUFSIZE 1
/* size (in KB) SOCKET RCVBUF */ /* size (in KB) SOCKET RCVBUF */
#define CONFIG_SOCKET_RCVBUFSIZE 512 #define CONFIG_SOCKET_RCVBUFSIZE 128
/* size (in KB) SOCKET SNDBUF */ /* size (in KB) SOCKET SNDBUF */
#define CONFIG_SOCKET_SNDBUFSIZE 512 #define CONFIG_SOCKET_SNDBUFSIZE 128
/* activate TCP keep alive mechanism. 1 -> activate */ /* activate TCP keep alive mechanism. 1 -> activate */
#define CONFIG_ACTIVATE_TCP_KEEPALIVE 1 #define CONFIG_ACTIVATE_TCP_KEEPALIVE 1

Loading…
Cancel
Save