projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b408103
)
pseudotcp: Set default RTO to 1 second
author
Olivier Crête
<olivier.crete@collabora.com>
Sun, 5 Oct 2014 17:33:00 +0000
(13:33 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Thu, 9 Oct 2014 20:26:07 +0000
(16:26 -0400)
The newer RFC 6298 recommends 1 second instead of 3.
agent/pseudotcp.c
patch
|
blob
|
history
diff --git
a/agent/pseudotcp.c
b/agent/pseudotcp.c
index
bc4dc5b
..
8acb1f7
100644
(file)
--- 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