diff options
author | glebius <glebius@FreeBSD.org> | 2004-09-06 19:53:58 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2004-09-06 19:53:58 +0000 |
commit | f3d4554e29909efbc0529409793dea5b1347bb24 (patch) | |
tree | 8d6754c4deb88e77bed8c355691bdccccfaf3816 /sys/netgraph/ng_pptpgre.c | |
parent | 0662081e912b0e84786cbc00c1f5dcc7f26afa4e (diff) | |
download | FreeBSD-src-f3d4554e29909efbc0529409793dea5b1347bb24.zip FreeBSD-src-f3d4554e29909efbc0529409793dea5b1347bb24.tar.gz |
Increase PPTP_MAX_TIMEOUT up to 3 seconds. 10 prooved too much for high packet
loss links, and 1 second appeared to be too small for high latency links.
If we will receive more complaints, we should make this parameter configurable.
PR: kern/69536
Approved by: archie, julian (mentor)
MFC after: 3 days
Diffstat (limited to 'sys/netgraph/ng_pptpgre.c')
-rw-r--r-- | sys/netgraph/ng_pptpgre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_pptpgre.c b/sys/netgraph/ng_pptpgre.c index dcf3125..62b17f5 100644 --- a/sys/netgraph/ng_pptpgre.c +++ b/sys/netgraph/ng_pptpgre.c @@ -119,7 +119,7 @@ typedef u_int64_t pptptime_t; #define PPTP_XMIT_WIN 16 /* max xmit window */ #define PPTP_MIN_RTT (PPTP_TIME_SCALE / 10) /* 100 milliseconds */ #define PPTP_MIN_TIMEOUT (PPTP_TIME_SCALE / 83) /* 12 milliseconds */ -#define PPTP_MAX_TIMEOUT (1 * PPTP_TIME_SCALE) /* 1 second */ +#define PPTP_MAX_TIMEOUT (3 * PPTP_TIME_SCALE) /* 3 seconds */ /* When we recieve a packet, we wait to see if there's an outgoing packet we can piggy-back the ACK off of. These parameters determine the mimimum |