mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Use default transport for appservice traffc
This commit is contained in:
parent
05ec2e6dc7
commit
fdb45dbea7
|
|
@ -297,6 +297,7 @@ func (b *BaseDendrite) CreateAppserviceClient() *gomatrixserverlib.Client {
|
|||
opts := []gomatrixserverlib.ClientOption{
|
||||
gomatrixserverlib.WithSkipVerify(b.Cfg.AppServiceAPI.DisableTLSValidation),
|
||||
gomatrixserverlib.WithTimeout(time.Second * 60),
|
||||
gomatrixserverlib.WithTransport(http.DefaultTransport),
|
||||
}
|
||||
if b.Cfg.Global.DNSCache.Enabled {
|
||||
opts = append(opts, gomatrixserverlib.WithDNSCache(b.DNSCache))
|
||||
|
|
|
|||
Loading…
Reference in a new issue