-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
add new method for io::copy that take buffer size #3722
Comments
In addition, maybe the buffer can be inited by |
Huh, that's an interesting point. It could even make sense to entirely replace the implementation to use that. I'll have to think about this. |
As far as I can tell, using |
When I use tokio/tokio/src/io/util/copy.rs Lines 18 to 28 in 3abe877
|
as discussing in #3572, add a new issue to trace it.
currently io::copy take 2k bytes buffer, there isn't any way of making the buffer bigger now. maybe we can add a new method to take byffer size as input.
The text was updated successfully, but these errors were encountered: