Skip to content

Commit 54d063a

Browse files
committed
Set proxy.xTransport.mainProto when a proxy is configured
1 parent 93996f6 commit 54d063a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dnscrypt-proxy/config_loader.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func configureXTransport(proxy *Proxy, config *Config) error {
121121
}
122122
proxy.xTransport.proxyDialer = &proxyDialer
123123
proxy.mainProto = "tcp"
124+
proxy.xTransport.mainProto = "tcp"
124125
}
125126

126127
proxy.xTransport.rebuildTransport()

0 commit comments

Comments
 (0)