On 2018-07-29 10:50, Sönke Ludwig wrote:

This is definitely a bug - the idea is indeed to have the buffer
partially filled. I'll have to look in the code, but it's likely that
there is a wrapper input stream involved (e.g. for chunked HTTP reading)
that doesn't implement proper support for IOMode, yet.

How is vibe.d itself dealing with this without having an exception
thrown? This seems to be a pretty core part of the library.

/Jacob Carlborg