Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XMUX #4146

Closed
ghost opened this issue Dec 18, 2024 · 5 comments
Closed

Add XMUX #4146

ghost opened this issue Dec 18, 2024 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2024

Hello, in the last version of the 3xui panel, it is going to be impossible to use the new features of xhttp like xmux and..... in the form of json. If possible, please add these features to the client, thanks.@2dust
MHSanaei/3x-ui@0df85cc
XHTTP: server & client
Remove scMinPostsIntervalMs, xmux, noGRPCHeader from the server side and add them to the client side.
Before you could have them on sub json but I decided to remove them.

@2dust
Copy link
Owner

2dust commented Dec 18, 2024

XTLS/Xray-core#4000

@2dust 2dust closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@ghost
Copy link
Author

ghost commented Dec 18, 2024

XTLS/Xray-core#4000

Thanks,
It should be used in json xhttp Extra?!

@2dust
Copy link
Owner

2dust commented Dec 18, 2024

yes

@ghost
Copy link
Author

ghost commented Dec 18, 2024

yes

The main problem is that these items must be entered separately for each configuration. What is the solution?
Is it possible to add this extra through the panel and tell them to press pr?!
When I enter Json, it is not saved, what is the solution?

@2dust
Copy link
Owner

2dust commented Dec 18, 2024

XTLS/Xray-core#4113

{
    "headers": {
        // "key": "value"
    },
    "xPaddingBytes": "100-1000",
    "noGRPCHeader": false, // stream-up/one, client only
    "noSSEHeader": false, // server only
    "scMaxEachPostBytes": 1000000, // packet-up only
    "scMinPostsIntervalMs": 30, // packet-up, client only
    "scMaxBufferedPosts": 30, // packet-up, server only
    "xmux": { // h2/h3 mainly, client only
        "maxConcurrency": "16-32",
        "maxConnections": 0,
        "cMaxReuseTimes": "64-128",
        "cMaxLifetimeMs": 0,
        "hMaxRequestTimes": "800-900",
        "hKeepAlivePeriod": 0
    },
    "downloadSettings": { // client only
        "address": "", // another domain/IP
        "port": 443,
        "network": "xhttp",
        "security": "tls",
        "tlsSettings": {
                ...
        },
        "xhttpSettings": {
            "path": "/yourpath", // must be the same
                ...
        }
    }
}

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

No branches or pull requests

1 participant