mono/mono — pull request #368 by robwilkens (2012-07-02 14:39:55+00:00)
Title: Fixes a bunch of Socket/XML/IO crashes related to bug 5926

See commit messages and Bug #5926

https://bugzilla.xamarin.com/show_bug.cgi?id=5926

This is a first attempt at fixing a bunch of the stack traces reported by this bug report. They stack traces are different problems, but related causes (dropped client connection causing server side crashes using WCF). As many as I could reproduce, I think I fixed in this pull request.

Please feel free to discuss this patch with me if you don't like something in it, I am willing to modify it or re-do parts.