<div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is generally not an issue that would occur very frequently, since the `IOV_MAX` is commonly 1024 on Mac/Linux, and 16 on Windows. However, it is clearly a bug, and should be fixed.<br></blockquote><div><br></div><div>The issue was actually very predictable (and frequent) on Windows... I guess it'll depend on the use case. The big problem is that this bug can result in a silent data corruption. Consider my scenario: a http server produced a JSON response with a stream of objects inside. The stream was flushed after each object (it's a different story why this was happening). So something like this:</div><div><br></div><div>[</div><div> { "key1": "value1" },</div><div> { "key2": "value2" },</div><div>  ...</div><div> { "keyN": "valueN" }</div><div>]</div><div><br></div><div>Because data flushes occurred regularly after each object (line, in this case), HttpClient+ofFile subscriber would just miss a random part of the response but the written JSON would parse and behave as if it were valid. It is only a lucky coincidence that this was noticed at all.</div><div><br></div><div>Dawid</div></div></div>