From 4161870b64bc7b8895d1b966c4ebf7a9b0001b7d Mon Sep 17 00:00:00 2001 From: Nick Banks Date: Sun, 26 Jun 2022 09:32:23 -0400 Subject: [PATCH] Set slightly higher idle/disconnect timeouts --- src/quicreach.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quicreach.cpp b/src/quicreach.cpp index 40160a00..7e3a03ac 100644 --- a/src/quicreach.cpp +++ b/src/quicreach.cpp @@ -44,8 +44,8 @@ struct ReachConfig { QUIC_CREDENTIAL_FLAGS CredFlags {QUIC_CREDENTIAL_FLAG_CLIENT}; const char* OutputFile {nullptr}; ReachConfig() { - Settings.SetDisconnectTimeoutMs(500); - Settings.SetHandshakeIdleTimeoutMs(750); + Settings.SetDisconnectTimeoutMs(1000); + Settings.SetHandshakeIdleTimeoutMs(1000); Settings.SetPeerUnidiStreamCount(3); Settings.SetMinimumMtu(1288); /* We use a slightly larger than default MTU: 1240 (QUIC) + 40 (IPv6) + 8 (UDP) */