Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid hanging forever when the socket goes away and the only thing we…
…'re doing is writing. If the connection closed during a flush_outbound with pending data, we were in some cases (asyncore-based) looping forever. Checking each time we enter the loop gets us a sensible exception in these cases.
- Loading branch information