actix-governor icon indicating copy to clipboard operation
actix-governor copied to clipboard

A middleware for actix-web that provides rate-limiting backed by governor.

Results 12 actix-governor issues
Sort by recently updated
recently updated
newest added

Returns an error `ErrorInternalServerError` instead of `ErrorUnauthorized` when the key cannot be extracted

# Feature Request Or is it already there?

The TooManyRequests error is returned as a text, which is not good for middleware in the API. Is it better to add a feature called json_response or make it a...

Updates the requirements on [governor](https://github.com/antifuchs/governor) to permit the latest version. Commits c0cbe23 Release 0.5.0 🎉🎉 ce672ee Merge #144 863e5b6 Add license that cargo deny insists we need 175eb51 rustfmt again...

dependencies

Hi there, One of my CI jobs failed today with the following compilation error: ``` error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied --> rest/src/main.rs:116:24...

Hello! Would it be possible to support an async extract for the key extractor? I would like to access a tokio mutex when extracting the key. I cannot use the...

enhancement
help wanted

I have a custom Actix "default_error_handler" set, but it does not get called when the key extractor, fn extract, returns an error. Ordering of the wrap's does not seem to...

When using 'actix governor', even though the current limiting middleware has been correctly configured and 'permissive' has been set to 'true', I am unable to obtain 'GovernorResult' from the requested...