rack-attack/lib/rack/attack
Cristian Greco dd6c09e581 Failsafe on Redis error replies in RedisCacheStoreProxy.
RedisCacheStoreProxy will blow up when RedisCacheStore raises a
CommandError exception. In fact, by default the proxied store only
handles BaseConnectionError exceptions, but will let bubble up any other
type of exception from the underlying client.

This pull request uses the same approach from RedisProxy, where store
operations are wrapped in a `rescuing` block that rescues and ignores
BaseError exceptions (the most generic exception class that can be
raised by the Redis client).
2019-07-14 01:37:59 +01:00
..
store_proxy Failsafe on Redis error replies in RedisCacheStoreProxy. 2019-07-14 01:37:59 +01:00
allow2ban.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
blocklist.rb refactor: avoid unnecessary nil argument passing 2019-03-01 22:22:11 -03:00
cache.rb style: prefer ruby 1.9+ hash syntax 2019-02-27 23:29:32 -03:00
check.rb style: enable Style/OptionalArguments rubocop 2019-03-01 21:51:15 -03:00
fail2ban.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
path_normalizer.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
request.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
safelist.rb refactor: avoid unnecessary nil argument passing 2019-03-01 22:22:11 -03:00
store_proxy.rb Remove unwrapping 2018-09-30 13:32:08 -03:00
throttle.rb refactor: make Throttle.new consistent with Blocklist/Safelist.new 2019-03-01 22:12:32 -03:00
track.rb refactor: make Throttle.new consistent with Blocklist/Safelist.new 2019-03-01 22:12:32 -03:00
version.rb Bump version to v6.0.0 2019-04-17 18:44:59 -03:00