Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore errors on TCP send to avoid race with incoming disconnect message
THis commit avoids a race condition between an incoming disconnect message and an attempt to send a new outgoing message. In some cases the prior implementation would process the TCP close before finishing processing of messages in the TCP receive buffer, reporting a BrokenPipeError insted of a clean disconnect.
- Loading branch information