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

fix wrong splithttp default #2433

Merged
merged 1 commit into from
Jul 9, 2024
Merged

fix wrong splithttp default #2433

merged 1 commit into from
Jul 9, 2024

Conversation

mmmray
Copy link
Contributor

@mmmray mmmray commented Jul 9, 2024

This default is defined as 1MB, but maxUploadSize is to be specified in bytes. This confusion could've come from poorly written documentation in xray, but it has been updated.

in general I wish that panels would not set defaults at all and instead just omit parameters (in sharelinks, inbounds, ...) that the user didn't set explicitly. If I want to change the defaults in xray's codebase, it seems that all the panels will have to update the default too.

I see marzban doing the same kind of things.

This default is defined as 1MB, but maxUploadSize is to be specified in
bytes. This confusion could've come from poorly written documentation in
xray, but it has been updated.

in general I wish that panels would not set defaults at all and instead
just omit parameters (in sharelinks, inbounds, ...) that the user didn't
set explicitly. If I want to change the defaults in xray's codebase, it
seems that all the panels will have to update the default too.

I see marzban doing the same kind of things.
@MHSanaei MHSanaei merged commit ea9d5dc into MHSanaei:main Jul 9, 2024
@mmmray mmmray deleted the splithttp-fix branch July 9, 2024 13:30
@MHSanaei
Copy link
Owner

MHSanaei commented Jul 9, 2024

Thanks for your pull request! I've merged it.

I'm glad the docs are updated. I follow your work on Xray Core and appreciate it.

Thanks again!

aircross pushed a commit to aircross/3x-ui that referenced this pull request Jul 10, 2024
This default is defined as 1MB, but maxUploadSize is to be specified in
bytes. This confusion could've come from poorly written documentation in
xray, but it has been updated.

in general I wish that panels would not set defaults at all and instead
just omit parameters (in sharelinks, inbounds, ...) that the user didn't
set explicitly. If I want to change the defaults in xray's codebase, it
seems that all the panels will have to update the default too.

I see marzban doing the same kind of things.
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