Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
channel: Improve error handling on a closed channel.
The net package has grown a new net.ErrClosed that can be used to check for a write on a closed connection. This allows us to get rid of the kludge we were using parsing the error string.
- Loading branch information