Replies: 1 comment 1 reply
-
Update: I did more research on this and found out that you can get the number of unsent (or unACKed) bytes in a TCP buffer with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am kind of lost right now, I am using a setup kind of similar to the
send_file.rs
example.Only difference is that I use the
async_stream::stream!
macro to wrap a loop that yields from a bounded channel.However fast I push things into the channel, they are almost instantly yielded even if the client consuming the body is doing so very slowly.
Q: Where does the body go and get buffered? How can I control or check the length of that buffer?
Beta Was this translation helpful? Give feedback.
All reactions