forked from External/ergo
Merge remote-tracking branch 'origin/master' into vhosts.4
This commit is contained in:
commit
74fa58dda0
23 changed files with 624 additions and 357 deletions
|
|
@ -84,11 +84,7 @@ func (client *Client) ApplyProxiedIP(proxiedIP string, tls bool) (exiting bool)
|
|||
|
||||
// set tls info
|
||||
client.certfp = ""
|
||||
if tls {
|
||||
client.flags[modes.TLS] = true
|
||||
} else {
|
||||
delete(client.flags, modes.TLS)
|
||||
}
|
||||
client.SetMode(modes.TLS, tls)
|
||||
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue