[Mono-dev] Bug in mono 3.0.1 MVC3 File/FileResult

Daniel Lo Nigro lists at dan.cx
Sat Feb 2 14:51:38 UTC 2013

Hmm... Maybe try an X-Accel-Redirect header instead. This lets Nginx serve
the file instead of Mono having to serve it, which makes it more efficient.
See if that makes a difference, or if it has the same issue.

Why not just link directly to the file, instead of serving it through your
C# code?

On Sun, Feb 3, 2013 at 1:43 AM, quandary82 <quandary82 at hailmail.net> wrote:

> Corrected the mime, but seems to be a mono-bug (or fastcgi) anyway.
> More here:
> http://stackoverflow.com/questions/14662795/why-do-i-have-unwanted-extra-bytes-at-the-beginning-of-image
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Bug-in-mono-3-0-1-MVC3-File-FileResult-tp4658382p4658422.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130203/60f71804/attachment.html>

More information about the Mono-devel-list mailing list