Commit 6a6ed5f8 authored by Olivier Crête's avatar Olivier Crête

pseudotcp: Set min RTO to 1 second

This is recommended by RFC 6298
parent ff5697b1
......@@ -165,8 +165,8 @@ const guint16 PACKET_MAXIMUMS[] = {
#define PACKET_OVERHEAD (HEADER_SIZE + UDP_HEADER_SIZE + \
IP_HEADER_SIZE + JINGLE_HEADER_SIZE)
// MIN_RTO = 250 ms (RFC1122, Sec 4.2.3.1 "fractions of a second")
#define MIN_RTO 250
// MIN_RTO = 1 second (RFC6298, Sec 2.4)
#define MIN_RTO 1000
#define DEF_RTO 1000 /* 1 seconds (RFC 6298 sect 2.1) */
#define MAX_RTO 60000 /* 60 seconds */
#define DEFAULT_ACK_DELAY 100 /* 100 milliseconds */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment