Skip to content

Commit fc83114

Browse files
committed
fix: SASL/PLAIN
The previous fix did not work. This is now definitely verified to be working and also makes coherent sense.
1 parent e65584d commit fc83114

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/messenger.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,9 @@ where
610610
let authentication_response =
611611
self.sasl_authentication(to_sent.into_inner()).await?;
612612
data_received = Some(authentication_response.auth_bytes.0);
613-
} else {
613+
}
614+
615+
if state.is_finished() {
614616
break;
615617
}
616618
}

0 commit comments

Comments
 (0)