Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ward <matt.ward@microsoft.com>2022-03-22 12:38:35 +0300
committerGitHub <noreply@github.com>2022-03-22 12:38:35 +0300
commit59651db1c7357a49e2489701656dd349e0ec44ea (patch)
tree83163396a4eb735f98d449a60e07c7355a31a861
parentfaed4edfe44395eefaba8c9e13000ce9bdeec4eb (diff)
parent1eebc58161bc729e7bb70b3278b5537f757beea7 (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.cs3
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)