Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit 926176c

Browse files
authored
support vless ws 0-rtt
1 parent 70deea9 commit 926176c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/xwall.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ show_links() {
173173
#https://github.com/XTLS/Xray-core/issues/91
174174
local uri_vless="${uuid}@${sni}:443?security=xtls&flow=rprx-xtls-direct#`urlEncode "${sni} (VLESS)"`"
175175
printf "%s\n" "vless://${uri_vless}"
176-
printf "(WSS) %s:443 %s %s\n" "${sni}" "${uuid}" "${path}ws"
177176
echo ""
178177

179178
colorEcho ${BLUE} "Trojan TLS"
@@ -190,7 +189,7 @@ show_links() {
190189
colorEcho ${YELLOW} "===============分 享 链 接 (CDN)==============="
191190
colorEcho ${BLUE} "VLESS WSS"
192191
#https://github.com/XTLS/Xray-core/issues/91
193-
local uri_vless_wss="${uuid}@${cf_node}:443?type=ws&security=tls&host=${sni}&path=`urlEncode ${path}ws`&sni=${sni}#`urlEncode "${sni} (VLESS+WSS)"`"
192+
local uri_vless_wss="${uuid}@${cf_node}:443?type=ws&security=tls&host=${sni}&path=`urlEncode ${path}ws?ed=2048`&sni=${sni}#`urlEncode "${sni} (VLESS+WSS)"`"
194193
printf "%s\n" "vless://${uri_vless_wss}"
195194
echo ""
196195

@@ -730,4 +729,4 @@ menu() {
730729
}
731730

732731
identify_the_operating_system_and_architecture
733-
menu
732+
menu

0 commit comments

Comments
 (0)