You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.61
Former-commit-id: 8969ac411e933f8c8203fa18878df70bb80cfba4
This commit is contained in:
parent
5005e1465f
commit
270395db27
@ -1016,6 +1016,18 @@ namespace System.Net
|
||||
IAsyncResult result = null;
|
||||
try {
|
||||
result = s.BeginWrite (buffer, offset, size, cb, state);
|
||||
} catch (ObjectDisposedException) {
|
||||
lock (this) {
|
||||
if (Data.request != request)
|
||||
return null;
|
||||
}
|
||||
throw;
|
||||
} catch (IOException e) {
|
||||
SocketException se = e.InnerException as SocketException;
|
||||
if (se != null && se.SocketErrorCode == SocketError.NotConnected) {
|
||||
return null;
|
||||
}
|
||||
throw;
|
||||
} catch (Exception) {
|
||||
status = WebExceptionStatus.SendFailure;
|
||||
throw;
|
||||
|
Reference in New Issue
Block a user