aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Transport
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-04-13 10:55:45 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-04-13 10:55:45 +0300
commit56b3a4ad69e635128d75d075b0612542fd951944 (patch)
treeb903e6b6a88191fce6306b904a41ed1ed8524616 /Software/Visual_Studio/Tango.Transport
parent16b412099d4e8d4e64bc7ccc41b2ebfedde25f5c (diff)
downloadTango-56b3a4ad69e635128d75d075b0612542fd951944.tar.gz
Tango-56b3a4ad69e635128d75d075b0612542fd951944.zip
Some fixes + major keep alive fix.
Diffstat (limited to 'Software/Visual_Studio/Tango.Transport')
-rw-r--r--Software/Visual_Studio/Tango.Transport/TransporterBase.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Transport/TransporterBase.cs b/Software/Visual_Studio/Tango.Transport/TransporterBase.cs
index 4c88a0158..5a56754b9 100644
--- a/Software/Visual_Studio/Tango.Transport/TransporterBase.cs
+++ b/Software/Visual_Studio/Tango.Transport/TransporterBase.cs
@@ -1669,7 +1669,7 @@ namespace Tango.Transport
{
if (DateTime.Now - _lastKeepAliveTime > KeepAliveTimeout)
{
- if (retryCounter == 0)
+ if (retryCounter <= 0)
{
OnFailed(new KeepAliveException("The transporter has not received a KeepAlive response within the given time."));
return;