Give up a connect after connectTimeout instead of waiting the OS out #12
Reference in New Issue
Block a user
Delete Branch "connect-timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A host that drops SYNs stalled every attempt for the OS TCP timeout, which reconnect could not retry. Every connect attempt is now bounded at 10 s, the TLS handshake included; connectTimeout retunes it, and false restores the operating system's wait.