fix: avoid 10s client dally delay by default
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ OPTIONS:
|
||||
--timeout-ms <MILLIS> Packet timeout (default: 5000)
|
||||
--retries <N> Retransmit attempts (default: 5)
|
||||
--dally-timeout-ms <MILLIS> Wait time for duplicate final DATA (default: timeout)
|
||||
--dally-retries <N> Dally attempts (default: 2)
|
||||
--dally-retries <N> Dally attempts (default: 0)
|
||||
--help, -h Show this help
|
||||
"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user