-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frame_write: Use tokio_util::io::framed_write #623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, assuming that the util function does essentially the same thing. I tagged Eliza since I see a bunch of her comments being deleted, but 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me --- as you can see, i definitely followed up on that TODO as soon as tokio-util
0.5.1 was released... 😇
I'm pretty sure it does, because IIRC, I basically copied and pasted the (at the time unpublished) code directly out of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it occurred to me that we maybe should just get rid of the write
function, now that it's a very thin wrapper around poll_write_buf
.
Shall we merge? |
superseeded by #712 |
No description provided.