Drop the SASL source record when the connection ends

This commit is contained in:
Jean Chevronnet 2026-07-19 20:28:24 +00:00
parent b34ae037f6
commit 006808e974
No known key found for this signature in database

View file

@ -745,6 +745,7 @@ impl Engine {
self.prune_channel_if_gone(c);
}
self.sasl_sessions.remove(uid);
self.sasl_source.remove(uid); // the captured SASL host/IP dies with the connection too
self.pending_enforce.retain(|p| p.uid != uid);
self.forget_chatter_everywhere(uid);
}