mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
update golib, fix #959
This commit is contained in:
1
vendor/github.com/fatedier/golib/net/proxy.go
generated
vendored
1
vendor/github.com/fatedier/golib/net/proxy.go
generated
vendored
@@ -43,6 +43,7 @@ func DialTcpByProxy(proxyStr string, addr string) (c net.Conn, err error) {
|
||||
|
||||
auth := &ProxyAuth{}
|
||||
if proxyUrl.User != nil {
|
||||
auth.Enable = true
|
||||
auth.Username = proxyUrl.User.Username()
|
||||
auth.Passwd, _ = proxyUrl.User.Password()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user