fix: test if valid server, control if try test with proxy (#7858)
* fix: test if valid server, control if try test with proxy Signed-off-by: fufesou <shuanglongchen@yeah.net> * fix: build Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
bd717349a7
commit
1dfbaa1e02
9 changed files with 55 additions and 52 deletions
|
|
@ -280,8 +280,8 @@ pub fn get_options() -> String {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
pub fn test_if_valid_server(host: String) -> String {
|
||||
hbb_common::socket_client::test_if_valid_server(&host)
|
||||
pub fn test_if_valid_server(host: String, test_with_proxy: bool) -> String {
|
||||
hbb_common::socket_client::test_if_valid_server(&host, test_with_proxy)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue