Skip to content

[Feature]: XHTTP: Add fields for configuring "xmux" for inbounds #5194

Description

@Viktus

Is your feature request related to a problem?

In recent months TSPU in Russia has begun monitoring server connection patterns that deviate from normal browsing behavior — specifically, an anomalous number of connections within a short period of time. Article in russian dpi-tls-june-2026

more than 3 parallel TLS handshake attempts to the same SNI, with less than ~350-400 ms delay between them, within the last 60 seconds

The issue affects clients on Xray-core v25.10.15 and above due to changes in the default xmux settings from 32-16 to 1. This leads to a large number of simultaneous connections.

XHTTP client: Change default maxConcurrency to 1 for speed testing by @RPRX in XTLS/Xray-core@9cc7907

Describe the solution you'd like

Adding xmux settings in the extra section on the client side solves the issue, but these settings get reset after a subscription update.
Could you add xmux configuration fields to the XHTTP form and pass them in the subscription? This would resolve the issue mentioned above and eliminate the need for clients to manually reconfigure their settings after every subscription update.

Alternatives you've considered

No response

Concrete use case

Clients running the latest Xray versions are forced to manually add xmux configuration for XHTTP connections when connecting to servers behind DPI blockers

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

Frontend (UI / panel pages), Subscription (share links / Clash / JSON), Xray config generation

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions