This commit is contained in:
fatedier
2016-09-06 17:56:09 +08:00
parent 8c497793c5
commit adcb2c1ea5
4 changed files with 7 additions and 9 deletions

View File

@@ -156,12 +156,12 @@ func LoadConf(confFile string) (err error) {
if ok {
proxyClient.HostHeaderRewrite = tmpStr
}
//http_username
// http_username
tmpStr, ok = section["http_username"]
if ok {
proxyClient.HttpUserName = tmpStr
}
//http_password
// http_password
tmpStr, ok = section["http_password"]
if ok {
proxyClient.HttpPassWord = tmpStr