Closed genXdev closed 8 years ago
We are also seeing the same issue with content that is designed to be streamed. In fact this issue seems to have other effects even with non-streamed content. e.g.
Seems to me though the simple fix is that prior to the try block, a check for !process should be called and return the response if so.
Also I'm not certain whether swallowing any exception makes sense either. Although in most cases the exception will be re-thrown the second time around it is easy to make this not the case (e.g. close the stream in the formatter). Also by swallowing the exception it again causes duplicate calls to the media formatter.
A few actions of my controller, stream mpeg audio, throttled for limiting bandwidth.
I disabled compression on these actions, using the [Compression(Enabled = false)] attribute.
But this doesn't work, the pipeline message handler only checks this setting, after it has waited for the response to be generated. This makes this library useless for my project.