Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Read after connection error can throw two different exception types #975

Closed
cesarblum opened this issue Jul 15, 2016 · 0 comments
Closed
Assignees

Comments

@cesarblum
Copy link
Contributor

  • IOException: thrown if ReadAsync is awaiting on SocketInput when the connection is aborted.
  • TaskCanceledException: thrown if ReadAsync is called by the time the connection has already been aborted after an error.

Need to make this consistent and return only one type of exception.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant