Closed muhamadazmy closed 11 months ago
Stream read is not cancellation safe, it can then put the socket in a bad state and reads will get blocked. forever
Instead we run the read in own routine, and then pipe read messages to the connection loop. which is cancellation safe.
Fixes #143
Stream read is not cancellation safe, it can then put the socket in a bad state and reads will get blocked. forever
Instead we run the read in own routine, and then pipe read messages to the connection loop. which is cancellation safe.
Fixes #143