Warning · Error handling
Before an address attempt, `connect_tcp` treats expiry of the request deadline as expiry of the connect budget.
Impact
The backend raises `httpcore2.ConnectTimeout` instead of `httpcore2.ReadTimeout` when the request deadline expires after lookup or between attempts.
Recommended action
Check the request deadline first using the same clock sample, then raise `ConnectTimeout` only if the connect budget is exhausted.