fix: avoid 10s client dally delay by default

This commit is contained in:
2025-12-21 13:17:50 +01:00
parent a6dade0956
commit 3f10f68851
2 changed files with 5 additions and 2 deletions

View File

@@ -32,7 +32,10 @@ impl Default for ClientConfig {
timeout,
retries: 5,
dally_timeout: timeout,
dally_retries: 2,
// RFC 1350, Section 6: The final ACK sender *may* terminate immediately, but
// "dallying is encouraged". For CLI UX, default to no dallying and allow
// opt-in via flags.
dally_retries: 0,
}
}
}