Skip to content

feat: add convert xmux to reuse-settings#2675

Merged
wwqgtxx merged 1 commit intoMetaCubeX:Alphafrom
legiz-ru:feat/xhttp-convert-xmux
Apr 4, 2026
Merged

feat: add convert xmux to reuse-settings#2675
wwqgtxx merged 1 commit intoMetaCubeX:Alphafrom
legiz-ru:feat/xhttp-convert-xmux

Conversation

@legiz-ru
Copy link
Copy Markdown

@legiz-ru legiz-ru commented Apr 4, 2026

add xmux convert to xhttp reuse-settings for convert proxy-providers tools

legiz-ru pushed a commit to legiz-ru/clash-convertor that referenced this pull request Apr 4, 2026
Port PR MetaCubeX/mihomo#2675 logic to JS converter:

- Add xmuxToReuse() helper inside parseXHTTPExtra:
  maps maxConnections/maxConcurrency/cMaxReuseTimes/
  hMaxRequestTimes/hMaxReusableSecs → reuse-settings,
  handles both string and number values (number → string)

- extra.xmux → xhttp-opts.reuse-settings

- extra.downloadSettings.xhttpSettings.extra.xmux
  → xhttp-opts.download-settings.reuse-settings

- YAML serializer outputs reuse-settings in both
  xhttp-opts and download-settings blocks

https://claude.ai/code/session_01NXJ7mxzK1Fn12rzumxZM98
@wwqgtxx wwqgtxx merged commit 4f5ad97 into MetaCubeX:Alpha Apr 4, 2026
133 of 135 checks passed
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.

2 participants