rack-attack/lib/rack/attack
Jonathan del Strother 5cdc15b35a Add a proxy to deal with ActiveSupport::Cache::MemCacheStore
If connection pooling is used with AS::Cache::MemCacheStore,
unwrap_active_support_stores wouldn't return the underlying dalli instance(s),
and so Rack::Attack.store would be the bare unproxied MemCacheStore instance.

Calling write then increment would silently fail because :raw wasn't used.

With this commit, we no longer try to unwrap AS::Cache::MemCacheStore instances.
2018-09-03 12:00:02 +01:00
..
store_proxy Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
allow2ban.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
blocklist.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
cache.rb Merge remote-tracking branch 'doliveirakn/master' 2018-06-29 11:17:19 -03:00
check.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08: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 Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
store_proxy.rb Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
throttle.rb Merge remote-tracking branch 'doliveirakn/master' 2018-06-29 11:17:19 -03:00
track.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
version.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00