diff options
author | Matt Ward <matt.ward@microsoft.com> | 2022-03-22 12:38:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 12:38:35 +0300 |
commit | 59651db1c7357a49e2489701656dd349e0ec44ea (patch) | |
tree | 83163396a4eb735f98d449a60e07c7355a31a861 | |
parent | faed4edfe44395eefaba8c9e13000ce9bdeec4eb (diff) | |
parent | 1eebc58161bc729e7bb70b3278b5537f757beea7 (diff) |
Merge pull request #357 from thaystg/fix_1447827
Fix https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1447827
-rw-r--r-- | Mono.Debugging.Soft/SoftDebuggerSession.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mono.Debugging.Soft/SoftDebuggerSession.cs b/Mono.Debugging.Soft/SoftDebuggerSession.cs index c68ba56..5cae703 100644 --- a/Mono.Debugging.Soft/SoftDebuggerSession.cs +++ b/Mono.Debugging.Soft/SoftDebuggerSession.cs @@ -255,7 +255,8 @@ namespace Mono.Debugging.Soft if (sx.ErrorCode == 10061) //connection refused return true; } - return false; + //retry if it receives 0 byte and threw an exception in the handshake + return true; } protected void StartConnecting (SoftDebuggerStartInfo dsi) |