File tree Expand file tree Collapse file tree 2 files changed +2
-24
lines changed
projects/client/RabbitMQ.Client/src/client Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -942,13 +942,6 @@ void _Private_ConnectionOpen(string virtualHost,
942
942
void HandleConnectionOpenOk ( [ AmqpFieldMapping ( "RabbitMQ.Client.Framing.v0_9_1" , "reserved1" ) ]
943
943
string knownHosts ) ;
944
944
945
- ///<summary>Handle an incoming Connection.Redirect.
946
- /// (not available in AMQP 0-9-1)
947
- ///</summary>
948
- [ AmqpMethodDoNotImplement ( "RabbitMQ.Client.Framing.v0_9_1" ) ]
949
- void HandleConnectionRedirect ( string host ,
950
- string knownHosts ) ;
951
-
952
945
///<summary>Used to send a Connection.Close. Called during
953
946
///connection shutdown.</summary>
954
947
[ AmqpMethodMapping ( null , "connection" , "close" ) ]
Original file line number Diff line number Diff line change @@ -1493,13 +1493,8 @@ public string ConnectionOpen(string virtualHost,
1493
1493
// negotiation finishes
1494
1494
}
1495
1495
k . GetReply ( ) ;
1496
- if ( k . m_redirect ) {
1497
- throw new RedirectException ( m_session . Connection . Protocol ,
1498
- k . m_host ,
1499
- k . m_knownHosts ) ;
1500
- } else {
1501
- return k . m_knownHosts ;
1502
- }
1496
+
1497
+ return k . m_knownHosts ;
1503
1498
}
1504
1499
1505
1500
public abstract void _Private_ConnectionOpen ( string virtualHost ,
@@ -1515,16 +1510,6 @@ public void HandleConnectionOpenOk(string knownHosts)
1515
1510
k . HandleCommand ( null ) ; // release the continuation.
1516
1511
}
1517
1512
1518
- public void HandleConnectionRedirect ( string host ,
1519
- string knownHosts )
1520
- {
1521
- ConnectionOpenContinuation k = ( ConnectionOpenContinuation ) m_continuationQueue . Next ( ) ;
1522
- k . m_redirect = true ;
1523
- k . m_host = host ;
1524
- k . m_knownHosts = knownHosts ;
1525
- k . HandleCommand ( null ) ; // release the continuation.
1526
- }
1527
-
1528
1513
public abstract void _Private_ConnectionClose ( ushort replyCode ,
1529
1514
string replyText ,
1530
1515
ushort classId ,
You can’t perform that action at this time.
0 commit comments