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. |
||
|---|---|---|
| .. | ||
| acceptance | ||
| integration | ||
| support | ||
| allow2ban_spec.rb | ||
| fail2ban_spec.rb | ||
| rack_attack_dalli_proxy_spec.rb | ||
| rack_attack_instrumentation_spec.rb | ||
| rack_attack_path_normalizer_spec.rb | ||
| rack_attack_request_spec.rb | ||
| rack_attack_spec.rb | ||
| rack_attack_throttle_spec.rb | ||
| rack_attack_track_spec.rb | ||
| spec_helper.rb | ||