Skip to content

Commit 4416c59

Browse files
author
Simon MacMullen
committed
Merge bug26071
2 parents e37cbd5 + bf77a0b commit 4416c59

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

projects/client/RabbitMQ.Client/src/client/impl/ModelBase.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,9 @@ public ConnectionSecureOrTune ConnectionStartOk(IDictionary<string, object> clie
14131413
}
14141414
catch (AlreadyClosedException)
14151415
{
1416-
// Ignored, see BasicGet
1416+
// let continuation throw OperationInterruptedException,
1417+
// which is a much more suitable exception before connection
1418+
// negotiation finishes
14171419
}
14181420
k.GetReply();
14191421
return k.m_result;
@@ -1442,7 +1444,9 @@ public ConnectionSecureOrTune ConnectionSecureOk(byte[] response)
14421444
}
14431445
catch (AlreadyClosedException)
14441446
{
1445-
// Ignored, see BasicGet
1447+
// let continuation throw OperationInterruptedException,
1448+
// which is a much more suitable exception before connection
1449+
// negotiation finishes
14461450
}
14471451
k.GetReply();
14481452
return k.m_result;
@@ -1487,7 +1491,9 @@ public string ConnectionOpen(string virtualHost,
14871491
}
14881492
catch (AlreadyClosedException)
14891493
{
1490-
// Ignored, see BasicGet
1494+
// let continuation throw OperationInterruptedException,
1495+
// which is a much more suitable exception before connection
1496+
// negotiation finishes
14911497
}
14921498
k.GetReply();
14931499
if (k.m_redirect) {

0 commit comments

Comments
 (0)