[Mono-dev] patch for remoting exceptions bug 77647
lluis at ximian.com
Thu Mar 2 05:34:09 EST 2006
It looks ok to me.
El jue, 02-03-2006 a las 01:48 -0800, Roei Erez escribió:
> This bug is about the differences between MS.NET and Mono regarding
> the Http status codes returned in remoting using Http channel.
> When an exception is thrown at the server side, during the remote
> invocation, MS.NET return status code 500, which is 'internal server
> error', while on Mono platform the code returned is 400, which is 'bad
> These differences are not only semantic because The type of exception
> that the user (client) will get is determined by these codes.
> On MS.NET the status code 500 indicates to throw the exception that is
> included in the response, while status code 400 causes MS.NET to throw
> a System.Net.WebException.
> I attached a proposed patch that makes mono compatible with .NET on
> these codes, and by that makes the correct exception propagate to the
> client on remote invocation.
> if no one reject, I will commit
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list