tokio-serde icon indicating copy to clipboard operation
tokio-serde copied to clipboard

Ran into some very sinister behaviour using SymmetricallyFramed

Open boymaas opened this issue 3 years ago • 0 comments

Using the lib on a length_delimited like this:

image

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.

image

rewriting the functionality like (which is functionality wise identical), removed the lag and the "buffering". Any idea what causes this "buffering" to happen?

boymaas avatar Apr 09 '21 14:04 boymaas