|
@@ -53,7 +53,7 @@
|
|
|
// value related to how much out-of-order input we tolerate (see FragmentProtoAssembler num_frames argument)
|
|
// value related to how much out-of-order input we tolerate (see FragmentProtoAssembler num_frames argument)
|
|
|
#define PEER_UDP_ASSEMBLER_NUM_FRAMES 4
|
|
#define PEER_UDP_ASSEMBLER_NUM_FRAMES 4
|
|
|
// socket send buffer (SO_SNDBUF) for peer TCP connections, <=0 to not set
|
|
// socket send buffer (SO_SNDBUF) for peer TCP connections, <=0 to not set
|
|
|
-#define PEER_DEFAULT_TCP_SNDBUF 4096
|
|
|
|
|
|
|
+#define PEER_DEFAULT_TCP_SNDBUF 1048576
|
|
|
// keep-alive packet interval for p2p communication
|
|
// keep-alive packet interval for p2p communication
|
|
|
#define PEER_KEEPALIVE_INTERVAL 10000
|
|
#define PEER_KEEPALIVE_INTERVAL 10000
|
|
|
// keep-alive receive timer for p2p communication (after how long to consider the link down)
|
|
// keep-alive receive timer for p2p communication (after how long to consider the link down)
|