Re: [Mono-dev] WCF WebServiceHost crashes mono if client disconnects early

2015-02-23 Thread Atsushi Eno
There is no test, so I don't know if it's good. Atsushi Eno On 2015年02月22日 03:32, Alexander Grep wrote: Hello, Miguel, thanks for implementing the fix! Sorry to bother you once more: I'd be grateful if you could also have a look at https://bugzilla.xamarin.com/show_bug.cgi?id=20764

Re: [Mono-dev] WCF WebServiceHost crashes mono if client disconnects early

2015-02-21 Thread Alexander Grep
Hello, Miguel, thanks for implementing the fix! Sorry to bother you once more: I'd be grateful if you could also have a look at https://bugzilla.xamarin.com/show_bug.cgi?id=20764 While it's not a crashing bug, it causes any OperationContract with a return type of void to return status code

Re: [Mono-dev] WCF WebServiceHost crashes mono if client disconnects early

2015-02-15 Thread Miguel de Icaza
Hello, [ I am CCing Atsushi so he can eyeball the patch ] Thanks for the background research and for pointing me to that long-standing bug. It seems like a pull request was created, but that the author closed the pull request. I have updated the patch, can you try this and report back?

Re: [Mono-dev] WCF WebServiceHost crashes mono if client disconnects early

2015-02-15 Thread Alexander Grep
As far as I can tell, that patch fixes the crash. I'll be doing some more testing in the next few days. I'd be grateful if you could also have a look at https://bugzilla.xamarin.com/show_bug.cgi?id=20764 While it's not a crashing bug, it causes any OperationContract with a return type of void to

Re: [Mono-dev] WCF WebServiceHost crashes mono if client disconnects early

2015-02-15 Thread Atsushi Eno
Console output for debugging is done in very limited, IIRC in only one or two [*1] locations and not supposed to be done everywhere. They should be actually replaced by something like WCF logging feature that can be enabled by some configuration. IIRC it partly works. Nothing will be logged by

[Mono-dev] WCF WebServiceHost crashes mono if client disconnects early

2015-02-14 Thread Horst Müller
Greetings! I've stumbled upon what I believe to be a rather serious problem in mono's WCF implementation. When a client disconnects during a transmission from a WebServiceHost, an exception is thrown: Exception Write failure at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer,