Lower the chances of disconnect when transferring files.

This commit is contained in:
irungentoo 2015-06-21 21:36:10 -04:00
parent 12663475bc
commit a0e783213b
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -2003,7 +2003,7 @@ static int udp_handle_packet(void *object, IP_Port source, const uint8_t *packet
#define REQUEST_PACKETS_COMPARE_CONSTANT (0.125 * 100.0)
/* Multiplier for maximum allowed resends. */
#define PACKET_RESEND_MULTIPLIER 2
#define PACKET_RESEND_MULTIPLIER 3
/* Timeout for increasing speed after congestion event (in ms). */
#define CONGESTION_EVENT_TIMEOUT 2000