Repository navigation
Conversation
|
There are problems with using xhttp in the iOS operating system. I will give you an example. When mux is enabled in the web socket configurations, communication is established without any problems. However, in xhttp, the tunnel is disconnected every 5 minutes and memory problems occur. xmux does not help the situation. How can we find out if xmux is working properly? |
1 task done
it2konst
pushed a commit
to it2konst/game-tun
that referenced
this pull request
Mar 1, 2026
drovosek229
pushed a commit
to drovosek229/Xray-core
that referenced
this pull request
Mar 16, 2026
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 13, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP. Allowing TCP sessions alone makes idle cuts worse: a quiet Mux connection is still cut by CDN idle timers, and every session on it drops together. SessionStatusKeepAlive is handled on both sides but never sent. The server now sends it every 3-8s, so a Mux connection whose sessions are all quiet keeps carrying bytes downstream.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 13, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP. Allowing TCP sessions alone makes idle cuts worse: a quiet Mux connection is still cut by CDN idle timers, and every session on it drops together. SessionStatusKeepAlive is handled on both sides but never sent. The server now sends it every 3-8s, but only on XHTTP packet-up and stream-up, whose downlink is a long-lived response of its own. Other transports, and stream-one, which is what a client picks for REALITY, get no extra traffic.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 15, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP; allow it again. "muxKeepAliveSecs": send a KeepAlive once the downlink has been silent that long, so a CDN does not take it for idle and cut it. Off unless set. "muxKeepAliveBytes": random padding in each one, so they do not all leave at the same size.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 15, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP; allow it again. "muxKeepAliveSecs": send a KeepAlive once the downlink has been silent that long, so a CDN does not take it for idle and cut it. Off unless set. "muxKeepAliveBytes": random padding in each one, so they do not all leave at the same size.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 16, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP; allow it again. "muxKeepAliveSecs": send a KeepAlive once the downlink has been silent that long, so a CDN does not take it for idle and cut it. Off unless set. "muxKeepAliveBytes": random padding in each one, so they do not all leave at the same size.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 16, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP; allow it again. "muxKeepAliveSecs": send a KeepAlive once the downlink has been silent that long, so a CDN does not take it for idle and cut it. Off unless set. "muxKeepAliveBytes": random padding in each one, so they do not all leave at the same size.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 16, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP; allow it again. "muxKeepAliveSecs": send a KeepAlive once the downlink has been silent that long, so a CDN does not take it for idle and cut it. Off unless set. "muxKeepAliveBytes": random padding in each one, so they do not all leave at the same size.
Medium1992
pushed a commit
to Medium1992/Xray-core-fork
that referenced
this pull request
Sep 16, 2026
XTLS#4128 limited Mux.Cool over XHTTP to pure XUDP; allow it again. "muxKeepAliveSecs": send a KeepAlive once the downlink has been silent that long, so a CDN does not take it for idle and cut it. Off unless set. "muxKeepAliveBytes": random padding in each one, so they do not all leave at the same size.
TaiLerV
pushed a commit
to TaiLerV/Xray-core-up
that referenced
this pull request
Oct 6, 2026
XHTTP inbounds accept Mux.Cool TCP sessions, unlike upstream (XTLS#4128), and can poke an idle packet-up or stream-up downlink with a Mux.Cool KeepAlive. Note that fields 30 and 31 of the splithttp Config message are fork-owned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
XHTTP 的 H2 & H3 自带 XMUX,这个 PR 复用了 Vision 通知 Mux.Cool 禁 TCP 的机制,从而防止了双层 Mux,
至于 H1,它不重要底层传输那里 listen 调来调去的太绕了,终于又一次理清后发现加这里最合适,v25 争取把各种 interface 和 register 清掉