summary refs log tree commit diff
path: root/tests/http (follow)
Commit message (Expand)AuthorAgeFilesLines
* Allow for the configuration of max request retries and min/max retry delays i...Mathieu Velten2023-06-211-1/+19
* Switch from `matrix://` to `matrix-federation://` scheme for internal Synapse...Eric Eastwood2023-06-201-17/+21
* Revert "Allow for the configuration of max request retries and min/max retry ...Mathieu Velten2023-06-141-19/+1
* Allow for the configuration of max request retries and min/max retry delays i...Shay2023-06-091-1/+19
* Rename blacklist/whitelist internally. (#15620)Patrick Cloke2023-05-195-43/+43
* Finish type hints for federation client HTTP code. (#15465)Patrick Cloke2023-04-241-3/+3
* Pull in netaddr type hints. (#15231)Patrick Cloke2023-03-091-1/+1
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-222-2/+1
* Fix-up type hints in tests/server.py. (#15084)Patrick Cloke2023-02-172-4/+6
* Use mypy 1.0 (#15052)David Robertson2023-02-162-26/+25
* Properly typecheck types.http (#14988)David Robertson2023-02-0712-183/+285
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-3/+4
* Making parse_server_name more consistent (#14007)Abdullah Osama2022-10-111-0/+3
* Indicate what endpoint came back with a JSON response we were unable to parse...Eric Eastwood2022-10-071-1/+3
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-1/+9
* Generalise the `@cancellable` annotation so it can be used on functions other...reivilibre2022-08-311-1/+1
* Use literals in place of `HTTPStatus` constants in tests (#13463)Dirk Klimpel2022-08-051-2/+1
* Fix `destination_is` errors seen in sentry. (#13041)David Robertson2022-06-141-0/+14
* Clean up the test code for client disconnections (#12929)Sean Quah2022-06-072-69/+73
* Test cancellation at every `await` during request handling (#12674)Sean Quah2022-06-071-2/+450
* Allow bigger responses to `/federation/v1/state` (#12877)Richard van der Hoff2022-05-251-3/+3
* Add some type hints to tests files (#12833)Dirk Klimpel2022-05-232-7/+9
* Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet...Sean Quah2022-05-111-1/+59
* Add helper class for testing request cancellation (#12630)Sean Quah2022-05-102-0/+113
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-12/+12
* Remove support for the webclient listener. (#11895)Patrick Cloke2022-02-031-108/+0
* Add a regression test for using both webclient and client resources simultane...Andrew Morgan2022-01-201-0/+108
* Prevent the media store from writing outside of the configured directorySean Quah2021-11-191-0/+3
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Add reactor to `SynapseRequest` and fix up types. (#10868)Erik Johnston2021-09-241-2/+6
* support federation queries through http connect proxy (#10475)Dirk Klimpel2021-08-112-109/+372
* allow specifying https:// proxy (#10411)Dirk Klimpel2021-07-271-58/+340
* Allow providing credentials to `http_proxy` (#10360)Dirk Klimpel2021-07-151-13/+52
* [pyupgrade] `tests/` (#10347)Jonathan de Jong2021-07-132-6/+4
* Improved validation for received requests (#9817)Richard van der Hoff2021-04-231-0/+83
* Limit the size of HTTP responses read over federation. (#9833)Richard van der Hoff2021-04-231-0/+59
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-1410-10/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-096-9/+6
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-4/+11
* Allow providing credentials to HTTPS_PROXY (#9657)Andrew Morgan2021-03-221-0/+40
* Add tests for blacklisting reactor/agent. (#9563)Patrick Cloke2021-03-111-2/+124
* (Hopefully) stop leaking file descriptors in media repo. (#9497)Patrick Cloke2021-03-011-36/+55
* Add support for no_proxy and case insensitive env variables (#9372)Tim Leung2021-02-261-44/+73
* Reduce the memory usage of previewing media files. (#9421)Patrick Cloke2021-02-181-4/+5
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-4/+2
* Support icons for Identity Providers (#9154)Richard van der Hoff2021-01-201-1/+1
* Avoid raising the body exceeded error multiple times. (#9108)Patrick Cloke2021-01-152-2/+103
* Merge branch 'master' into developErik Johnston2021-01-131-0/+130
|\
| * Don't apply the IP range blacklist to proxy connections (#9084)Marcus2021-01-121-0/+130
* | Handle bad JSON data being returned from the federation API. (#9070)Patrick Cloke2021-01-121-1/+1
|/
* Add a maximum size for well-known lookups. (#8950)Patrick Cloke2020-12-161-0/+27
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-2/+2
* Replace `request.code` with `channel.code`Richard van der Hoff2020-12-151-2/+2
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-0/+3
* Remove redundant calls to `render()`Richard van der Hoff2020-11-161-3/+1
* use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-151-6/+7
* Fix handling of connection timeouts in outgoing http requests (#8400)Richard van der Hoff2020-09-292-6/+188
* Merge tag 'v1.20.0rc3' into developPatrick Cloke2020-09-112-0/+128
|\
| * Fix the exception that is raised when invalid JSON is encountered. (#8291)Patrick Cloke2020-09-102-0/+128
* | Use TLSv1.2 for fake servers in tests (#8208)Dan Callaghan2020-09-101-1/+1
|/
* Stop sub-classing object (#8249)Patrick Cloke2020-09-042-2/+2
* Convert the well known resolver to async (#8214)Patrick Cloke2020-09-011-6/+18
* Reduce run-times of tests by advancing the reactor less (#7757)Andrew Morgan2020-08-271-1/+1
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-14/+36
* Convert the federation agent and related code to async/await. (#7874)Patrick Cloke2020-07-232-37/+40
* Merge different Resource implementation classes (#7732)Erik Johnston2020-07-031-0/+62
* Include a user agent in federation requests. (#7677)Patrick Cloke2020-06-161-0/+10
* Clean up some LoggingContext stuff (#7120)Richard van der Hoff2020-03-243-9/+9
* Share SSL contexts for non-federation requests (#7094)Richard van der Hoff2020-03-171-3/+3
* Support for routing outbound HTTP requests via a proxy (#6239)Richard van der Hoff2019-11-013-3/+359
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/reliable_l...Erik Johnston2019-08-221-35/+48
|\
| * Change jitter to be a factor rather than absolute valueErik Johnston2019-08-201-2/+2
| * Retry well known on fail.Erik Johnston2019-08-151-33/+46
* | Remove test debugsErik Johnston2019-08-201-1/+0
* | Refactor MatrixFederationAgent to retry SRV.Erik Johnston2019-08-152-5/+66
|/
* Retry well-known lookup before expiry.Erik Johnston2019-08-131-0/+69
* Move well known lookup into a separate clasErik Johnston2019-08-071-20/+19
* Add a lower bound for TTL on well known results.Erik Johnston2019-08-061-2/+2
* Share SSL options for well-known requestsErik Johnston2019-07-311-6/+6
* Replace returnValue with return (#5736)Amber Brown2019-07-233-4/+4
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-043-3/+3
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-1/+1
* Run Black. (#5482)Amber Brown2019-06-204-125/+124
* fix ci on py2, againRichard van der Hoff2019-06-101-1/+1
* fix CI on python 2.7Richard van der Hoff2019-06-101-6/+4
* Tests for SSL certs for federation connectionsRichard van der Hoff2019-06-106-106/+343
* Stop hardcoding trust of old matrix.org key (#5374)Richard van der Hoff2019-06-061-0/+1
* Validate federation server TLS certificates by default.Richard van der Hoff2019-06-051-3/+9
* Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-131-1/+3
* Add ability to blacklist ip ranges for federation traffic (#5043)Andrew Morgan2019-05-131-0/+71
* Run Black on the tests again (#5170)Amber Brown2019-05-104-172/+113
* Config option for verifying federation certificates (MSC 1711) (#4967)Andrew Morgan2019-04-251-1/+2
* lintAndrew Morgan2019-03-201-1/+1
* New test, fix issuesAndrew Morgan2019-03-201-0/+45
* Fix comments. v0.99.2 -> v0.99.3Andrew Morgan2019-03-201-1/+1
* Federation test fixed!Andrew Morgan2019-03-201-2/+5
* Better exception handlingAndrew Morgan2019-03-181-4/+1
* Correct var nameAndrew Morgan2019-03-131-0/+54
* i should have given up x3Andrew Morgan2019-03-131-39/+0
* i should have given up x2Andrew Morgan2019-03-131-0/+39
* Move ClientTLSOptionsFactory init out of refresh_certificates (#4611)Richard van der Hoff2019-02-111-3/+1
* Treat an invalid .well-known the same as an absent oneRichard van der Hoff2019-02-011-11/+70
* Update federation routing logic to check .well-known before SRVRichard van der Hoff2019-01-311-30/+21
* Follow redirects on .well-known (#4520)Richard van der Hoff2019-01-301-0/+97
* Add a caching layer to .well-known responses (#4516)Richard van der Hoff2019-01-301-4/+146
* Relax requirement for a content-type on .well-known (#4511)Richard van der Hoff2019-01-291-1/+0
* Implement MSC1708 (.well-known lookups for server routing) (#4489)Richard van der Hoff2019-01-293-7/+339
* Use SimpleResolverComplexifier in tests (#4497)Richard van der Hoff2019-01-291-4/+3
* Handle IP literals explicitlyRichard van der Hoff2019-01-281-17/+2
* Fix idna and ipv6 literal handling in MatrixFederationAgent (#4487)Richard van der Hoff2019-01-281-1/+180
* Fix Host header sent by MatrixFederationAgent (#4468)Richard van der Hoff2019-01-252-1/+17
* Look up the right SRV recordRichard van der Hoff2019-01-241-3/+9
* lots more tests for MatrixFederationAgentRichard van der Hoff2019-01-241-10/+79
* Don't send IP addresses as SNI (#4452)Richard van der Hoff2019-01-241-3/+60
* Add a test for MatrixFederationAgentRichard van der Hoff2019-01-221-0/+183
* put resolve_service in an objectRichard van der Hoff2019-01-221-20/+18
* Require that service_name be a byte stringRichard van der Hoff2019-01-221-4/+4
* Make MatrixFederationClient use MatrixFederationAgentRichard van der Hoff2019-01-221-0/+96
* Refactor and bugfix for resove_service (#4427)Richard van der Hoff2019-01-222-0/+223
* Remove redundant WrappedConnection (#4409)Richard van der Hoff2019-01-181-7/+47
* Refactor request sending to have better excpetions (#4358)Erik Johnston2019-01-081-3/+10
* Merge branch 'master' into developAmber Brown2018-09-251-2/+2
|\
| * Fix compatibility issue with older Twisted in tests.Oleg Girko2018-09-251-2/+2
* | Refactor matrixfederationclient to fix logging (#3906)Richard van der Hoff2018-09-181-5/+38
|/
* Attempt to figure out what's going on with timeouts (#3857)Amber Brown2018-09-141-0/+157
* Run black.black2018-08-101-4/+2
* run isortAmber Brown2018-07-091-4/+2
* More server_name validationRichard van der Hoff2018-07-041-4/+13
* Reject invalid server names (#3480)Richard van der Hoff2018-07-032-0/+46