cmd/vet: flag use of .Timeout() after Set*Deadline() #38508
In #31449 it was decided to make deadline expiration return a newly-defined error, as checking
This means that .Timeout() use after Set*Deadline() should be changed to look for the new error, since that is not a reliable way to check for deadline-expired.
I suggest go vet flag use of .Timeout() after Set*Deadline(). That will generate reports for existing code, but perhaps that's better than leaving code broken due to the keepalive problem.
Triage: milestone should be 1.15
The text was updated successfully, but these errors were encountered: