Skip to content
代码片段 群组 项目
提交 a5440d5b 编辑于 作者: Markus Koller's avatar Markus Koller 提交者: Matthias Käppler
浏览文件

Treat API requests from the frontend as web traffic in the rate limiter

This will allow us to impose stricter rate limits for general API
traffic, without affecting interactive API requests made by the
frontend during normal GitLab usage.

The frontend requests are identified by the inclusion of a CSRF token
in the headers.

Other rate limits that only affect a subset of API requests (e.g. the
Files and Packages APIs, or protected paths) still take precedence,
i.e. requests for these paths will always be matched even if they
include a CSRF token.

Changelog: changed
上级 7a7c032c
No related branches found
No related tags found
加载中
显示 249 个添加37 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册