Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
9f94b11d
Commit
9f94b11d
authored
10 years ago
by
Kegan Dougal
Browse files
Options
Downloads
Patches
Plain Diff
Added section on rate limiting.
parent
b175179e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/specification.rst
+15
-3
15 additions, 3 deletions
docs/specification.rst
with
15 additions
and
3 deletions
docs/specification.rst
+
15
−
3
View file @
9f94b11d
...
@@ -1402,11 +1402,24 @@ SRV Records
...
@@ -1402,11 +1402,24 @@ SRV Records
Security
Security
========
========
- rate limiting
.. NOTE::
.. NOTE::
This section is a work in progress.
This section is a work in progress.
Rate limiting
-------------
Home servers SHOULD implement rate limiting to reduce the risk of being overloaded. If a
request is refused due to rate limiting, it should return a standard error response of
the form::
{
"errcode": "M_LIMIT_EXCEEDED",
"error": "string",
"retry_after_ms": integer (optional)
}
The ``retry_after_ms`` key SHOULD be included to tell the client how long they have to wait
in milliseconds before they can try again.
.. TODO
.. TODO
- crypto (s-s auth)
- crypto (s-s auth)
- E2E
- E2E
...
@@ -1499,4 +1512,3 @@ User ID:
...
@@ -1499,4 +1512,3 @@ User ID:
.. _/join/<room_alias_or_id>: /-rooms/join
.. _/join/<room_alias_or_id>: /-rooms/join
.. _`Event Stream`: /-events/get_event_stream
.. _`Event Stream`: /-events/get_event_stream
.. _`Initial Sync`: /-events/initial_sync
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment