mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-04 16:34:52 +03:00
967366e7dc
Map Xray HTTPUpgrade to Mihomo's supported WebSocket representation. Mihomo does not accept httpupgrade as a proxy network value. Export HTTPUpgrade as network: ws and set ws-opts.v2ray-http-upgrade: true, preserving the configured path and Host for both inbound proxies and external share links. Keep HTTPUpgrade entries out of the legacy Clash subscription because older Clash clients may interpret the WebSocket network label as a regular WebSocket transport and cannot honor the Mihomo-specific flag. Regression coverage verifies VMess inbound and external VLESS output, transport options, Host precedence, and legacy Clash filtering. Fixes #7381