Merge with trunk.

Reduce needed roundtrips during DIGEST-MD5 login.

Adding some human readable error messages.

Fail if username or password don't pass SASLprep.

Use new cofig option reading API.

Allow SASL PLAIN over unsecure connections when intended by admin.

Typo.

Handle , and = in usernames for SCRAM.

Provide SASL PLAIN mechanism only if TLS is active.

Cleaning up.

(0) -1000 -300 -100 -10 +10 +100 +300 +1000 tip

mercurial