rack-attack/lib/rack/attack/store_proxy
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
..
dalli_proxy.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
mem_cache_proxy.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
mem_cache_store_proxy.rb Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
redis_cache_store_proxy.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
redis_proxy.rb Avoid as much repetition as possible between RedisProxy and RedisStoreProxy 2018-06-29 15:44:41 -03:00
redis_store_proxy.rb Avoid as much repetition as possible between RedisProxy and RedisStoreProxy 2018-06-29 15:44:41 -03:00