9cdec11346123f4018f3aa612b89ea683a90d333
The watchdog and the end of the call race by construction: a cancellation landing as the reply arrives closes a conn the call had already finished with, and c.conn still pointed at the closed socket. It was survivable before this. A write to a closed socket is errWriteLost, which re-dials and retries, and that retry is safe because nothing was sent. So this buys one round trip, not a correctness fix, and the new test says so rather than pretending to catch a break.
Description
No description provided
Languages
Go
97.1%
HTML
0.9%
Shell
0.6%
CSS
0.5%
Makefile
0.3%
Other
0.6%