Skip to content

VLESS Multiplex (mux.cool): Raise maxConcurrency to 128 only for XDRIVE - #7375

Merged
RPRX merged 1 commit into
XTLS:mainfrom
WaveMeUp:mux-concurrency-xdrive-only
Nov 11, 2026
Merged

RPRX merged 1 commit into
XTLS:mainfrom
WaveMeUp:mux-concurrency-xdrive-only

Conversation

@WaveMeUp

Copy link
Copy Markdown
Contributor

Raise concurrency to 128 only for XDRIVE, keep previous behavior for others

Since bb335c6 any concurrency from 0 to 128 was replaced with 128 for every transport, so explicit values like 8 were silently ignored.

Now the minimum of 128 applies only to XDRIVE. Other transports behave as before bb335c6: unset (0) becomes 8, explicit values are kept, negative values disable Mux. XUDP is unchanged.

Fixes #7358 #7358 (comment)

@RPRX

RPRX commented Nov 11, 2026

Copy link
Copy Markdown
Member

不要多搞一个函数,test 删掉

@WaveMeUp
WaveMeUp force-pushed the mux-concurrency-xdrive-only branch from 8b29dbc to 6e02187 Compare November 11, 2026 03:18
@WaveMeUp

Copy link
Copy Markdown
Contributor Author

不要多搞一个函数,test 删掉

Done

@RPRX

RPRX commented Nov 11, 2026

Copy link
Copy Markdown
Member

h.streamSettings != nil

… keep previous behavior for others

Since bb335c6 any concurrency from 0 to 128 was replaced with 128 for every
transport, so explicit values like 8 were silently ignored.

Now the minimum of 128 applies only to XDRIVE. Other transports behave as
before bb335c6: unset (0) becomes 8, explicit values are kept, negative
values disable Mux. XUDP is unchanged.

Fixes XTLS#7358
XTLS#7358 (comment)
@WaveMeUp
WaveMeUp force-pushed the mux-concurrency-xdrive-only branch from 6e02187 to 9fc1c60 Compare November 11, 2026 03:22
@WaveMeUp

Copy link
Copy Markdown
Contributor Author

h.streamSettings != nil

And done again.

@RPRX RPRX changed the title VLESS Multiplex (mux.cool): Raise concurrency to 128 only for XDRIVE VLESS Multiplex (mux.cool): Raise maxConcurrency to 128 only for XDRIVE Nov 11, 2026
@RPRX
RPRX merged commit 36cc9ff into XTLS:main Nov 11, 2026
39 checks passed
patterniha added a commit to patterniha/Xray-core that referenced this pull request Nov 12, 2026
Brings in XTLS/Xray-core up to c456141 (still v26.11.9):
- Build: build list optimization and build-tag clean-up (XTLS#5824)
- Hysteria transport: proper Brutal behavior; bump quic-go to
  v0.63.1-...a10df75c (XTLS#7356)
- Metrics: close HTTP connections when stopping the Instance (XTLS#7361)
- XDNS finalmask: TCP resolver worker (XTLS#7354)
- VLESS mux.cool: maxConcurrency 128 only for XDRIVE (XTLS#7375); replace
  MutexWriter with buf.BufferedWriter (XTLS#7359)

No conflicts: upstream and the fork changed disjoint files; go.mod/go.sum
are taken from upstream unchanged. The fork's core/core.go version
(26.11.12) is kept.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VLESS Multiplex: explicit concurrency below 128 is silently replaced with 128

2 participants