Sep 14, 2020
Jan 15, 2021
Closed, Fixed and tested
An error was discovered in a support case related to broken downloads of HTML-files:
It looks like it's related to Response.Flush called. When commenting out this line it starts working.
Similarly when adding a Response.Flush() call after the synchronous transmit-method that will also start failing, otherwise when it copies with stream.CopyTo() it'll read/write to the stream without a flush and that works as expected.
Steps to reproduce
File is partially downloaded or browser reacts with a network-error.