[Mono-list] Bug in HttpServerUtility class

Rich Alimi rich@velvetsea.net
Sun, 14 Sep 2003 17:04:06 -0400


I've found another bug in the HttpServerUtility.Execute method.  The
local variable "output" (of type TextWriter) is never used to capture
the result of the HTTP response.

As it is implemented, the Execute method works within the current
HttpContext.  I do not believe that this is the way Microsoft's
implementation works (at least when a non-null argument is passed for
"writer").  The output from the response should rather be captured in
the "output" TextWriter variable.

I don't know enough about the organization of the classes to provide a
fix, but hopefully this helps.

Thanks,
Rich Alimi