File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -396,8 +396,7 @@ impl ProxyServer {
396396 bind_listener ( addr) . await ?
397397 } else {
398398 // No address specified, find available port in 8000-8999 range on localhost
399- bind_to_available_port ( 8000 , 8999 , std:: net:: IpAddr :: V4 ( Ipv4Addr :: LOCALHOST ) )
400- . await ?
399+ bind_to_available_port ( 8000 , 8999 , std:: net:: IpAddr :: V4 ( Ipv4Addr :: LOCALHOST ) ) . await ?
401400 } ;
402401
403402 let http_port = http_listener. local_addr ( ) ?. port ( ) ;
@@ -438,8 +437,7 @@ impl ProxyServer {
438437 bind_listener ( addr) . await ?
439438 } else {
440439 // No address specified, find available port in 8000-8999 range on localhost
441- bind_to_available_port ( 8000 , 8999 , std:: net:: IpAddr :: V4 ( Ipv4Addr :: LOCALHOST ) )
442- . await ?
440+ bind_to_available_port ( 8000 , 8999 , std:: net:: IpAddr :: V4 ( Ipv4Addr :: LOCALHOST ) ) . await ?
443441 } ;
444442
445443 let https_port = https_listener. local_addr ( ) ?. port ( ) ;
You can’t perform that action at this time.
0 commit comments