feat(xhttp): implement stream-up and download-settings support#2655
Conversation
- implement stream-up transport flow - add session metadata handling - wire stream-up mode in VLESS outbound
|
First, all options in XHTTPDownloadSettings that have the same meaning as VlessOption should maintain the same naming convention. Second, both of these added features should have inbound testing. |
… parsing test - rename address → server for consistency - add servername, client-fingerprint, skip-cert-verify support - add config-level test for download-settings via parseProxies
|
we don't need config-level test, should add the inbound test |
Renamed |
|
Similarly, mihomo does not require a |
Updated as suggested:
Also re-verified runtime behavior locally for stream-up, download-settings (TLS / REALITY inherit / REALITY explicit). |
Summary
This PR adds full support for XHTTP bidirectional transport improvements:
Together, this brings mihomo's XHTTP implementation closer to Xray-style behavior and enables full duplex transport handling.
Changes
Stream-up
Download-settings
download-settingsin XHTTPTLS / REALITY overrides (download-side)
Added support for:
servernameclient-fingerprintskip-cert-verifyDetails:
XHTTPDownloadSettingsxhttp.DownloadConfigstreamTLSConnWithdialXHTTPConnVerification
Build & tests
Runtime testing
Tested locally using built binary and real configs.
Stream-up + download-settings
REALITY (inherit)
REALITY (explicit overrides)
curl verification
{ "origin": "<proxy_ip>" }