[PR #2433] [MERGED] fix wrong splithttp default #5098

Closed
opened 2026-10-31 20:44:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2433
Author: @mmmray
Created: 7/9/2024
Status: ✅ Merged
Merged: 7/9/2024
Merged by: @MHSanaei

Base: main ← Head: splithttp-fix


📝 Commits (1)

  • 133f041 fix wrong splithttp default

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 web/assets/js/model/xray.js (+2 -2)

📄 Description

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 issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2433 **Author:** [@mmmray](https://github.com/mmmray) **Created:** 7/9/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `splithttp-fix` --- ### 📝 Commits (1) - [`133f041`](https://github.com/MHSanaei/3x-ui/commit/133f0417e57941b8aa8781642bac739d9d980d4e) fix wrong splithttp default ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `web/assets/js/model/xray.js` (+2 -2) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:44:43 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5098
No description provided.