aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-monolith-server
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-10-01 11:55:17 +0100
committerGitHub <noreply@github.com>2020-10-01 11:55:17 +0100
commitb1d5360335ef9b26f62504282669403f6f3e6df5 (patch)
tree65a3a0c126c5221c64fcb87c0f9e6cb82b18e507 /cmd/dendrite-monolith-server
parent91fc1f1c92d06d875b2e6293ac8d352716bdfb20 (diff)
Update HTTP clients (#1457)
* Update gomatrixserverlib * Use separate HTTP client for API calls, set User-Agent for outbound HTTP requests
Diffstat (limited to 'cmd/dendrite-monolith-server')
-rw-r--r--cmd/dendrite-monolith-server/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/dendrite-monolith-server/main.go b/cmd/dendrite-monolith-server/main.go
index 759f1c9f..28a349a7 100644
--- a/cmd/dendrite-monolith-server/main.go
+++ b/cmd/dendrite-monolith-server/main.go
@@ -29,7 +29,6 @@ import (
"github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/serverkeyapi"
"github.com/matrix-org/dendrite/userapi"
- "github.com/matrix-org/gomatrixserverlib"
)
var (
@@ -125,7 +124,7 @@ func main() {
monolith := setup.Monolith{
Config: base.Cfg,
AccountDB: accountDB,
- Client: gomatrixserverlib.NewClient(cfg.FederationSender.DisableTLSValidation),
+ Client: base.CreateClient(),
FedClient: federation,
KeyRing: keyRing,
KafkaConsumer: base.KafkaConsumer,