Appservice API /_matrix/app/v1/transactions/ should specify maximum transaction sizes #1469
Labels
A-Application-Services
Issues affecting the AS API
wart
A point where the protocol is inconsistent or inelegant
This means we should specify a maximum limit on the number of
events
sent. Unstable MSCs for Appservices such as:Will need to also specify their maximum sizes. This is needed because most HTTP listeners will specify a maximum body size for incoming requests, and in practice this is often exceeded when the AS receives a lot of traffic at once. For example, Nginx defaults to 1MB and while we shouldn't arbitrarily restrict the spec to what nginx supports, it's clear that an unlimited number of events will cause great pain.
The text was updated successfully, but these errors were encountered: