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()
1008
1008
bool tuned = false ;
1009
1009
try
1010
1010
{
1011
- string [ ] mechanisms = Encoding . UTF8 . GetString ( connectionStart . m_mechanisms ) . Split ( ' ' ) ;
1011
+ string mechanismsString = Encoding . UTF8 . GetString ( connectionStart . m_mechanisms ) ;
1012
+ string [ ] mechanisms = mechanismsString . Split ( ' ' ) ;
1012
1013
AuthMechanismFactory mechanismFactory = m_factory . AuthMechanismFactory ( mechanisms ) ;
1013
1014
if ( mechanismFactory == null ) {
1014
1015
throw new IOException ( "No compatible authentication mechanism found - " +
1015
- "server offered [" + connectionStart . m_mechanisms + "]" ) ;
1016
+ "server offered [" + mechanismsString + "]" ) ;
1016
1017
}
1017
1018
AuthMechanism mechanism = mechanismFactory . GetInstance ( ) ;
1018
1019
byte [ ] challenge = null ;
You can’t perform that action at this time.
0 commit comments