deps, refactor
This commit is contained in:
parent
5a3a3845cc
commit
0109dc5799
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ async fn entrypoint(globals: Arc<Globals>) -> Result<()> {
|
||||||
let futures = select_all(addresses.into_iter().map(|addr| {
|
let futures = select_all(addresses.into_iter().map(|addr| {
|
||||||
let mut tls_enabled = false;
|
let mut tls_enabled = false;
|
||||||
if let Some(https_port) = globals.https_port {
|
if let Some(https_port) = globals.https_port {
|
||||||
tls_enabled = https_port == (addr.port() as u16)
|
tls_enabled = https_port == addr.port()
|
||||||
}
|
}
|
||||||
|
|
||||||
let proxy = Proxy {
|
let proxy = Proxy {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue