bp74 / Zstandard.Net

A Zstandard wrapper for .Net
Other
137 stars 27 forks source link

Underlying stream read timeout #11

Closed Brain2000 closed 5 years ago

Brain2000 commented 5 years ago

If an application is aware of the exact number of bytes a stream will produce, and also reads small bytes in rapid succession towards the end of the stream, an extra stream.Read can occurs before the internal buffers have emptied, causing a timeout pause to can occur. An example of this is streaming to an MSSQL Virtual Device (VDI) interface.

bp74 commented 5 years ago

Sorry for the late reply, I will merge your pull request tomorrow!

bp74 commented 5 years ago

Thank you very much. I will update the NuGet package too.