The Wayback Machine - https://web.archive.org/web/20201123203159/https://github.com/matrix-construct/construct/issues/23
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many resource handlers are missing the RATE_LIMITED flag as per the spec. #23

Open
jevolk opened this issue Mar 5, 2019 · 0 comments
Open

Comments

@jevolk
Copy link
Member

@jevolk jevolk commented Mar 5, 2019

Resolving this issue involves going through the handlers in the modules/ tree alongside the matrix client and server specification to flag methods required to be rate-limited. Currently some are, but many are not.

Example of a method with the flag:

resource::method
method
{
    resource, "GET", handler,
    {
        method.REQUIRES_AUTH |
        method.RATE_LIMITED
    }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.