Skip to content

Commit 4161870

Browse files
committed
Set slightly higher idle/disconnect timeouts
1 parent fc2a862 commit 4161870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quicreach.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ struct ReachConfig {
4444
QUIC_CREDENTIAL_FLAGS CredFlags {QUIC_CREDENTIAL_FLAG_CLIENT};
4545
const char* OutputFile {nullptr};
4646
ReachConfig() {
47-
Settings.SetDisconnectTimeoutMs(500);
48-
Settings.SetHandshakeIdleTimeoutMs(750);
47+
Settings.SetDisconnectTimeoutMs(1000);
48+
Settings.SetHandshakeIdleTimeoutMs(1000);
4949
Settings.SetPeerUnidiStreamCount(3);
5050
Settings.SetMinimumMtu(1288); /* We use a slightly larger than default MTU:
5151
1240 (QUIC) + 40 (IPv6) + 8 (UDP) */

0 commit comments

Comments
 (0)