Skip rate limit for login, capability negotiation
authorShane Synan <digitalcircuit36939@gmail.com>
Wed, 7 Sep 2016 05:35:48 +0000 (00:35 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 13 Sep 2016 22:17:08 +0000 (00:17 +0200)
Disable message rate limit during nick registration and capability
negotiation (Network::Initializing).  Once network initialization
is complete (Network::Initialized), re-apply configured rate limits.

Helps fix connection timeouts during login on servers with SASL
enabled, multiple capabilities negotiated, and a strict 10s login
time.

Add flag 'forceUnlimited' to updateRateLimiting() which temporarily
overrides user preferences to skip all rate limiting.  User
preferences can be applied afterwards by calling updateRateLimiting()
without setting 'forceUnlimited'.

Resolves GH-236.


No differences found