Skip to content

Commit

Permalink
Set slightly higher idle/disconnect timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Jun 26, 2022
1 parent fc2a862 commit 4161870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quicreach.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit 4161870

Please sign in to comment.