Fixed unresponsive behavior after cancelled socket #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "b/cancelled_socket"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Basically, a
Socket
is cancelled not only if the end of stream is reached but also if anIOException
is thrown by theMessageReader
.This covers the case of a cancelled connection as well as any other error that occurred while reading a message.
Fixes #2
As far as I can evaluate this, this is a nice fix