Replies: 2 comments 5 replies
-
I think this is the error i am hitting: https://docs.rs/futures-util/0.3.28/src/futures_util/io/copy_buf.rs.html#72 What i fail to understand is why this only happens when using FRB, ideas welcome! |
Beta Was this translation helpful? Give feedback.
5 replies
-
FWIW, if anyone stumbles across this, the bug is no longer present when using FRB v2 🥳 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some code in a library dependency (which I maintain) that uses
futures::io::copy
to copy data from a reader to a writer.When I test that code outside of FRB it works as expected however when I call it via FRB the
futures::io::copy
is returning aWriteZero
(io::ErrorKind
).In my API functions I am using
#[tokio::main(flavor = "current_thread")]
as recommended.I suspect it is something to do with the FRB threadpool but looking for some ideas as to where the problem might be.
Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions