Fix capability negotiation ending before sasl finishes with multi-line cap

Closes #2398
This commit is contained in:
Patrick Griffis
2019-11-24 13:01:48 -08:00
parent ad5be08a07
commit 7d9f3acfc9
4 changed files with 20 additions and 7 deletions

View File

@@ -578,6 +578,7 @@ typedef struct server
unsigned int sasl_mech; /* mechanism for sasl auth */
unsigned int sent_capend:1; /* have sent CAP END yet */
unsigned int waiting_on_cap:1; /* waiting on another line of CAP LS */
unsigned int waiting_on_sasl:1; /* waiting on sasl */
#ifdef USE_OPENSSL
unsigned int use_ssl:1; /* is server SSL capable? */
unsigned int accept_invalid_cert:1;/* ignore result of server's cert. verify */