On 27/06/12 14:09, Rob Wilkens wrote:
This code:
                                          try {
                                                 return TryReceiveRequest
(tout, out ctx);
                                         } finally {
                                                 lock (async_result_lock) {

CurrentAsyncResult = null;

CurrentAsyncThread = null;
                                                 }
                                         }

In ReplyChannelBase.cs, should probably catch and _ignore_
SocketException, perhaps after dumping a debug message, if not catch
other errors, and then go to the finally.  It's already setting the
result to null on failure, but this is continuuing to go on to crash
because the message dies not appear to be handled further upstream.

This is before "} finally {" do something like:

                        } catch (SocketException ex) {
                                 //ignore this or print debug message
becuase it sets the result to null in finally

Anyone have opinions on this?

Trying to describe a modification of the code with words is difficult.

This is why patches exist :) Go and attach your proposal in diff format.


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to