Commit 17cc31e8 authored by DeepakVerma's avatar DeepakVerma

surfacing unabletoconnect exception as well.

parent fa8a5b57
...@@ -385,6 +385,7 @@ internal void OnHeartbeat(bool ifConnectedOnly) ...@@ -385,6 +385,7 @@ internal void OnHeartbeat(bool ifConnectedOnly)
int connectTimeMilliseconds = unchecked(Environment.TickCount - VolatileWrapper.Read(ref connectStartTicks)); int connectTimeMilliseconds = unchecked(Environment.TickCount - VolatileWrapper.Read(ref connectStartTicks));
if (connectTimeMilliseconds >= Multiplexer.RawConfig.ConnectTimeout) if (connectTimeMilliseconds >= Multiplexer.RawConfig.ConnectTimeout)
{ {
LastException = ExceptionFactory.UnableToConnect("ConnectTimeout");
Trace("Aborting connect"); Trace("Aborting connect");
// abort and reconnect // abort and reconnect
var snapshot = physical; var snapshot = physical;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment