Add support for SASL v3.2
Review Request #3723 — Created Jan. 3, 2025 and submitted — Latest diff uploaded
This just means that we try to re-authenticate when the sasl capability is
advertised via CAP NEW.I also added some logic to ignore the wait counters outside of the initial capability negotiation.
Connected to a local ergo server with authentication turned on and made sure everything worked as expected.
I then disabled authentication and verified the
CAP DEL
message was received but we don't do anything with it.I then re-enabled authentication and verfied we received
CAP NEW
and attempt SASL authentication again.I also connected to the same server when authentication disabled and re-enabled it and verfied that we negotiated SASL properly.