cdrs-async
cdrs-async copied to clipboard
Fix receive frame stuck
It looks like when FrameChannel needs to read more than READING_BUFFER_SIZE
, the future will not be polled again.
This PR has demonstration as a test case and potential fix to the problem. (I'm still learning how Future works in rust, so my fix may not be the right way.)
Hi @yukim ,
I tried to compare actual values and it turned out that they are different. I suspect I must be related to encoding/decoding logic of Blob
. Need to figure out what is going on first. After that I think we could merge your changes