Skip to content

vless inbound mux disable has no effect #2415

Description

@markpash

Operating system

Linux

System version

NixOS

Installation type

Others

If you are using a graphical client, please provide the version of the client.

No response

Version

I use 1.10.5 with slight changes for debug logging and metrics to diagnose resource leaks

Description

When running a vless inbound, the mux enable/disable setting has no effect, the mux codepath in sing-vmess is still executed even when disabled in config.

Reproduction

{
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "listen_port": 443,
      "multiplex": {
        "enabled": false,
        "padding": false
      },
      "tag": "vless",
      "tcp_fast_open": true,
      "tcp_multi_path": false,
      "type": "vless",
      "users": [
        {
          "flow": "",
          "name": "a",
          "uuid": "957fca0e-1fd3-44f7-87f5-a4364209bb78"
        }
      ]
    }
  ],
  "log": {
    "disabled": false,
    "level": "debug",
    "timestamp": false
  },
  "outbounds": [
    {
      "tag": "direct",
      "type": "direct"
    }
  ],
  "route": {
    "final": "direct"
  }
}

With the above server config, this code in sing-vmess is still executed when a client enables mux.

Logs

No response

Supporter

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions