0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 07:23:51 +01:00
dendrite/cmd
Ben B 955244c092
use custom http client instead of the http DefaultClient (#823)
This commit replaces the default client from the http lib with a custom one.
The previously used default client doesn't come with a timeout. This could cause
unwanted locks.
That solution chosen here creates a http client in the base component dendrite
with a constant timeout of 30 seconds. If it should be necessary to overwrite
this, we could include the timeout in the dendrite configuration.
Here it would be a good idea to extend the type "Address" by a timeout and
create an http client for each service.

Closes #820

Signed-off-by: Benedikt Bongartz <benne@klimlive.de>

Co-authored-by: Kegsay <kegan@matrix.org>
2020-04-03 11:40:50 +01:00
..
client-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
create-account use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
create-room-events Further room version wiring (#936) 2020-03-27 16:28:22 +00:00
dendrite-appservice-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-client-api-server Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
dendrite-edu-server Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
dendrite-federation-api-server Implement typing over federation (#949) 2020-03-30 16:40:28 +01:00
dendrite-federation-sender-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-media-api-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-monolith-server Implement typing over federation (#949) 2020-03-30 16:40:28 +01:00
dendrite-public-rooms-api-server p2p: Implement published rooms (#923) 2020-03-19 11:04:08 +00:00
dendrite-room-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-sync-api-server CS API: Support for /messages, fixes for /sync (#847) 2020-01-23 17:51:10 +00:00
dendritejs Implement typing over federation (#949) 2020-03-30 16:40:28 +01:00
federation-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
generate-keys use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
kafka-producer Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
mediaapi-integration-tests use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
roomserver-integration-tests use custom http client instead of the http DefaultClient (#823) 2020-04-03 11:40:50 +01:00
syncserver-integration-tests Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output (#914) 2020-03-17 11:01:25 +00:00