mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-11-03 16:41:26 +01:00
Every client built by the SDK now shares one builder. It sends TCP keepalives and HTTP/2 PING frames every 15 seconds, also while the connection is idle, and drops a connection whose PING goes unanswered for 10 seconds. A connection that a NAT or middlebox silently dropped is then noticed before a request waits on it for the full request timeout. Connecting is capped at 15 seconds, or the request timeout if that is shorter, so an unreachable host fails fast and the retry loop moves on.