summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-07-26 22:01:19 -0400
committerirungentoo <irungentoo@gmail.com>2015-07-26 22:01:19 -0400
commit5def57afcf0413f3eee92f29aeef0153db5d2e0c (patch)
tree4b45352fe1cca926d1905ad5b4d0a92b35a479ec
parent63ecb77556dcafbde90fc8619f263a6c0801ecef (diff)
This might improve the file transfer disconnect issue.
-rw-r--r--toxcore/net_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c
index 85f49941..628666c0 100644
--- a/toxcore/net_crypto.c
+++ b/toxcore/net_crypto.c
@@ -2034,7 +2034,7 @@ static int udp_handle_packet(void *object, IP_Port source, const uint8_t *packet
2034#define REQUEST_PACKETS_COMPARE_CONSTANT (0.125 * 100.0) 2034#define REQUEST_PACKETS_COMPARE_CONSTANT (0.125 * 100.0)
2035 2035
2036/* Multiplier for maximum allowed resends. */ 2036/* Multiplier for maximum allowed resends. */
2037#define PACKET_RESEND_MULTIPLIER 3 2037#define PACKET_RESEND_MULTIPLIER 3.5
2038 2038
2039/* Timeout for increasing speed after congestion event (in ms). */ 2039/* Timeout for increasing speed after congestion event (in ms). */
2040#define CONGESTION_EVENT_TIMEOUT 2000 2040#define CONGESTION_EVENT_TIMEOUT 2000