Skip to content

Commit bf77a0b

Browse files
Replace confusing comments
1 parent 03995b5 commit bf77a0b

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
@@ -1404,7 +1404,9 @@ public ConnectionSecureOrTune ConnectionStartOk(IDictionary<string, object> clie
14041404
}
14051405
catch (AlreadyClosedException)
14061406
{
1407-
// Ignored, see BasicGet
1407+
// let continuation throw OperationInterruptedException,
1408+
// which is a much more suitable exception before connection
1409+
// negotiation finishes
14081410
}
14091411
k.GetReply();
14101412
return k.m_result;
@@ -1433,7 +1435,9 @@ public ConnectionSecureOrTune ConnectionSecureOk(byte[] response)
14331435
}
14341436
catch (AlreadyClosedException)
14351437
{
1436-
// Ignored, see BasicGet
1438+
// let continuation throw OperationInterruptedException,
1439+
// which is a much more suitable exception before connection
1440+
// negotiation finishes
14371441
}
14381442
k.GetReply();
14391443
return k.m_result;
@@ -1478,7 +1482,9 @@ public string ConnectionOpen(string virtualHost,
14781482
}
14791483
catch (AlreadyClosedException)
14801484
{
1481-
// Ignored, see BasicGet
1485+
// let continuation throw OperationInterruptedException,
1486+
// which is a much more suitable exception before connection
1487+
// negotiation finishes
14821488
}
14831489
k.GetReply();
14841490
if (k.m_redirect) {

0 commit comments

Comments
 (0)