Skip to content
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

Remove Bytes impl for arrays and slices #415

Merged
merged 4 commits into from
Mar 12, 2021

Conversation

Thomasdezeeuw
Copy link
Owner

Removes the Bytes impl for arrays and slices

The update_length function was never correctly implemented for them
which causes issues with methods such as TcpStream::recv_n.

Closes #308 as this is no longer desidered.
Closes #408 as this is no longer possible.

Don't remove empty buffers in TcpStream::try_recv_vectored.

Closes #407.

The update_length function was never correctly implemented for them
which causes issues with methods such as TcpStream::recv_n.
@Thomasdezeeuw Thomasdezeeuw merged commit 43d34c6 into master Mar 12, 2021
@Thomasdezeeuw Thomasdezeeuw deleted the issue_407-tcp_stream_try_recv_vectored branch March 12, 2021 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant