[MonoDevelop] HttpListenerResponse.OutputStream.Write Performance

Jerod Venema jerod.venema at frozenmountain.com
Fri Apr 10 15:54:43 UTC 2015

Hey folks,

Ran into an odd one today. Check out this SO post:


That basically describes the issue. Using Response.OutputStream.Write()
causes a noticeable performance issue. Switching to
Response.Close(buffer...) works, but of course that limits functionality.

Turns out it's a question of setting the ContentLength64 header; is this an
expected behaviour though? Should there be any way to auto-set the content
length based on the written data? It's a pretty subtle issue that I imagine
many people would miss...

Jerod Venema

*Frozen Mountain Software*
919-300-5141 (United States)
604-227-2453 (Canada)
888-379-6686 (Toll Free)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20150410/a61096f6/attachment.html>

More information about the Monodevelop-list mailing list