synapse-old/synapse/api
Richard van der Hoff 33f469ba19 Apply some limits to depth to counter abuse
* When creating a new event, cap its depth to 2^63 - 1
* When receiving events, reject any without a sensible depth

As per https://docs.google.com/document/d/1I3fi2S-XnpO45qrpCsowZv8P8dHcNZ4fsBsbOW7KABI
2018-05-01 17:54:19 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
auth.py Add b prefixes to some strings that are bytes in py3 2018-04-04 13:48:51 +02:00
constants.py Apply some limits to depth to counter abuse 2018-05-01 17:54:19 +01:00
errors.py Use six.itervalues in some places 2018-04-15 20:39:43 +02:00
filtering.py Replace ujson with simplejson 2018-03-15 23:43:31 +00:00
ratelimiting.py Check whether to ratelimit sooner to avoid work 2016-10-19 10:45:24 +01:00
urls.py APP_SERVICE_PREFIX is never used; don't bother 2016-08-25 18:06:05 +01:00