We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596efd5 commit 09fd2dfCopy full SHA for 09fd2df
sing-box.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
args=$@
4
-is_sh_ver=v1.03
+is_sh_ver=v1.04
5
6
. /etc/sing-box/sh/src/init.sh
src/core.sh
@@ -443,6 +443,7 @@ change() {
443
[[ $is_auto_get_config ]] && msg "\n自动选择: $is_config_file"
444
}
445
is_old_net=$net
446
+ [[ $is_tcp_http ]] && net=http
447
[[ $host ]] && net=$is_protocol-$net-tls
448
[[ $is_reality && $net_type =~ 'http' ]] && net=rh2
449
@@ -1290,6 +1291,7 @@ info() {
1290
1291
[[ $net == "http" ]] && {
1292
net=tcp
1293
is_type=http
1294
+ is_tcp_http=1
1295
is_info_show+=(5)
1296
is_info_str=(${is_info_str[@]/http/tcp http})
1297
0 commit comments