A TCP peer may reset the connection at any point, but asyncserver.py currently only handles connection resets when it is sending data to the client. Handle connection resets during reading in the same way.
A TCP peer may reset the connection at any point, but asyncserver.py currently only handles connection resets when it is sending data to the client. Handle connection resets during reading in the same way.