File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
projects/client/RabbitMQ.Client/src/client/impl Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1008,11 +1008,12 @@ protected void StartAndTune()
10081008 bool tuned = false ;
10091009 try
10101010 {
1011- string [ ] mechanisms = Encoding . UTF8 . GetString ( connectionStart . m_mechanisms ) . Split ( ' ' ) ;
1011+ string mechanismsString = Encoding . UTF8 . GetString ( connectionStart . m_mechanisms ) ;
1012+ string [ ] mechanisms = mechanismsString . Split ( ' ' ) ;
10121013 AuthMechanismFactory mechanismFactory = m_factory . AuthMechanismFactory ( mechanisms ) ;
10131014 if ( mechanismFactory == null ) {
10141015 throw new IOException ( "No compatible authentication mechanism found - " +
1015- "server offered [" + connectionStart . m_mechanisms + "]" ) ;
1016+ "server offered [" + mechanismsString + "]" ) ;
10161017 }
10171018 AuthMechanism mechanism = mechanismFactory . GetInstance ( ) ;
10181019 byte [ ] challenge = null ;
You can’t perform that action at this time.
0 commit comments