mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
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. |
||
|---|---|---|
| .. | ||
| stores | ||
| allow2ban_spec.rb | ||
| blocking_ip_spec.rb | ||
| blocking_spec.rb | ||
| blocking_subnet_spec.rb | ||
| cache_store_config_for_allow2ban_spec.rb | ||
| cache_store_config_for_fail2ban_spec.rb | ||
| cache_store_config_for_throttle_spec.rb | ||
| cache_store_config_with_rails_spec.rb | ||
| customizing_blocked_response_spec.rb | ||
| customizing_throttled_response_spec.rb | ||
| extending_request_object_spec.rb | ||
| fail2ban_spec.rb | ||
| safelisting_ip_spec.rb | ||
| safelisting_spec.rb | ||
| safelisting_subnet_spec.rb | ||
| throttling_spec.rb | ||
| track_spec.rb | ||
| track_throttle_spec.rb | ||