tokio-serde
tokio-serde copied to clipboard
Ran into some very sinister behaviour using SymmetricallyFramed
Using the lib on a length_delimited like this:
caused data to accumulate (buffer up), and when I would close the sending connection it would flush the buffered values somehow, causing lag, this was really hard to locate.
rewriting the functionality like (which is functionality wise identical), removed the lag and the "buffering". Any idea what causes this "buffering" to happen?