diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-10-05 13:33:00 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-10-09 16:26:07 -0400 |
commit | 879c810de9119c194f9022c48efc7101d8508af0 (patch) | |
tree | e0f6ee06a91c171959441164125284cc336bc554 /agent | |
parent | b4081039c52d91acb99c19a278d1119f8f13aabf (diff) | |
download | libnice-879c810de9119c194f9022c48efc7101d8508af0.tar.gz |
pseudotcp: Set default RTO to 1 second
The newer RFC 6298 recommends 1 second instead of 3.
Diffstat (limited to 'agent')
-rw-r--r-- | agent/pseudotcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/pseudotcp.c b/agent/pseudotcp.c index bc4dc5b..8acb1f7 100644 --- a/agent/pseudotcp.c +++ b/agent/pseudotcp.c @@ -153,7 +153,7 @@ const guint16 PACKET_MAXIMUMS[] = { // MIN_RTO = 250 ms (RFC1122, Sec 4.2.3.1 "fractions of a second") #define MIN_RTO 250 -#define DEF_RTO 3000 /* 3 seconds (RFC1122, Sec 4.2.3.1) */ +#define DEF_RTO 1000 /* 1 seconds (RFC 6298 sect 2.1) */ #define MAX_RTO 60000 /* 60 seconds */ #define DEFAULT_ACK_DELAY 100 /* 100 milliseconds */ #define DEFAULT_NO_DELAY FALSE |