commit | 2d0ed40435f1b0a57d5c35677add28716c2952e3 | [log] [tgz] |
---|---|---|
author | Russ Garrett <russ@garrett.co.uk> | Sun May 12 09:29:21 2019 |
committer | Russ Garrett <russ@garrett.co.uk> | Sun May 12 09:29:21 2019 |
tree | 8b9155787b2537db4d26c3abe7b7b955d71cdb35 | |
parent | 0b3c53b3242262ba07daaaf35eda001526002d66 [diff] |
Add an overall timeout on CAP negotiation At the moment it just hangs if the server doesn't support CAP. This adds a 15 second timeout to the CAP negotiation process, after which the connection continues. The timeout and error on failed SASL negotiation is preserved.