Fix write to check poll_ready before sending data#81
Fix write to check poll_ready before sending data#81seanmonstar wants to merge 1 commit intomasterfrom
Conversation
|
Oops, approved this a bit too quickly... I looks like this swap makes all the transfers fail. I vaguely remember having this problem. @camshaft suggestion might help. Also, do you think the transfer should be initiated at the first |
|
Like mentioned in the issue, it would be most obvious to behave like the Sink trait:
|
|
Right, maybe I should have read the issue beforehand 😅 . Thanks! While we're at it, we might want to ditch
Or maybe implement |
|
Yeah AsyncWrite isn't the most efficient way of transferring data, especially when the data is already a |
|
Nice ! I didn't know about this project. |
|
we just launched yesterday 😄 |
Closes #78