Commit Graph

161 Commits (9bf61ef97b5c3884b5ca143cb44f47370663694e)

Author SHA1 Message Date
Erik Johnston 18968efa0a Remove stale debug lines 10 years ago
Erik Johnston 9d112f4440 Add IDs to outbound transactions 10 years ago
Erik Johnston aaa749d366 Disable twisted access logging. Move access logging to SynapseRequest object 10 years ago
Erik Johnston cee69441d3 Log more when we have processed the request 10 years ago
Erik Johnston b5209c5744 Create SynapseRequest that overrides __repr__ to not print access_token 10 years ago
Erik Johnston f00f8346f1 Make http.server request logging more verbose, but redact access_tokens 10 years ago
Erik Johnston 83f119a84a Log requests and responses sent via http.client 10 years ago
Erik Johnston d15f166093 Remove log line 10 years ago
Erik Johnston a7b65bdedf Add config option to turn off freezing events. Use new encode_json api and ujson.loads 10 years ago
Erik Johnston 79e37a7ecb Correctly pass connection pool parameter 10 years ago
Erik Johnston 11f51e6ded Up maxPersistentPerHost count 10 years ago
Erik Johnston 086df80790 Add connection pooling to SimpleHttpClient 10 years ago
Erik Johnston 291e942332 Use connection pool for federation connections 10 years ago
Erik Johnston 284f55a7fb Add doc strings 10 years ago
Erik Johnston 5b1631a4a9 Add a timeout param to get_event 10 years ago
Erik Johnston 2236ef6c92 Fix up leak. Add warnings. 10 years ago
Erik Johnston 476899295f Change the way we do logging contexts so that they survive divergences 10 years ago
David Baker 0c1b7f843b Unused import 10 years ago
David Baker 4b46fbec5b Doesn't look like this is used anymore 10 years ago
Mark Haines 1967650bc4 Combine the request wrappers in rest/media/v1 and http/server into a single wrapper decorator 10 years ago
Mark Haines 1ebff9736b Split out the JsonResource request logging and error handling into a separate wrapper function 10 years ago
Mark Haines 3cbc286d06 Move server key api into rest/key/v1 10 years ago
David Baker c5bf0343e8 Explain how I justified to myself making JsonResource not always send JSON. 10 years ago
David Baker e9c908ebc0 Completely replace fallback auth for C/S V2: 10 years ago
David Baker f129ee1e18 Make docs a bit more true 10 years ago
David Baker d18e7779ca Grammar and deduplication 10 years ago
David Baker 59bf16eddc New registration for C/S API v2. Only ReCAPTCHA working currently. 10 years ago
Paul "LeoNerd" Evans 3f7a31d366 Add a DistributionMetric to HTTP request/response processing time in the server 10 years ago
Matthew Hodgson c8032aec17 actually uphold the bind_host parameter. in theory should make ipv6 binds work like bind_host: 'fe80::1%lo0' 10 years ago
Erik Johnston dea236e4fa Add missing commas 10 years ago
Paul "LeoNerd" Evans 128cf2daf7 Appease pep8 10 years ago
Paul "LeoNerd" Evans 1748605c5d Count incoming HTTP requests per servlet that responds 10 years ago
Paul "LeoNerd" Evans b0cf867319 Use _ instead of . as a metric namespacing separator, for Prometheus 10 years ago
Paul "LeoNerd" Evans f9478e475b Rename Metrics' "keys" to "labels" 10 years ago
Paul "LeoNerd" Evans 7d72e44eb9 Add vector counters to HTTP clients and servers; count the requests by method and responses by method and response code 10 years ago
Paul "LeoNerd" Evans c53ec53d80 Pull out all uses of the underlying HTTP user agent .request() method into a single wrapper function, to make adding metrics easier 10 years ago
Paul "LeoNerd" Evans 9d9d39536b Slightly reduce the insane amounts of indentation in main http server response path, by 'continue'ing around a non-match or falling through 10 years ago
Kegan Dougal 2de5b14fe0 Fix bug which prevented the HS pushing events to the AS due to FrozenEvents 10 years ago
Erik Johnston 3f1871021e Make /keys/ return correct Server version 10 years ago
Erik Johnston 5358966a87 Use git aware version string in User-Agent and Server headers 10 years ago
Erik Johnston 7e9d59f3b4 Don't convert DNSLookupError to a 4xx SynapseError 10 years ago
Erik Johnston 65ca713ff5 Add .__name__ after type(e) 10 years ago
Erik Johnston 5e24471469 Fix up ResponseNeverReceived to str 10 years ago
Erik Johnston 0db52d43fa strings.join() expects iterable of strings 10 years ago
Erik Johnston 0647e27a41 Remove unused import 10 years ago
Erik Johnston 4de93001bf Make matrixfederationclient log more nicely 10 years ago
Erik Johnston 2bf0e85f3d Use encode_canonical_json for http client 10 years ago
Kegan Dougal f518324426 Minor tweaks based on PR feedback. 10 years ago
Erik Johnston 4ebbaf0d43 Blunty replace json with simplejson 10 years ago
Erik Johnston 6370cffbbf Fix bug where variable was not always defined 10 years ago