[GH-ISSUE #5129] [Feature]: scMaxConcurrentPosts #3609

Closed
opened 2026-10-31 20:33:41 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @electronictomy-beep on GitHub (Jun 9, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5129

عدم اتصال موفق در برخی کلاینتها

Describe the solution you'd like

در بسیاری از کانفیگهای موفقی که در شرایط فعلی کشور کار میکنند "scMaxConcurrentPosts": 100 وجود دارد
اما پنل MHSanaei این امکان را ندارد
پس از تست من و ویرایش فایل json و تست در کلاینت ؛ خیلی از کلاینتهایی که متصل نمیشدند درست شد

Alternatives you've considered

No response

Concrete use case

No response

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

Subscription (share links / Clash / JSON)

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.
Originally created by @electronictomy-beep on GitHub (Jun 9, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5129 ### Is your feature request related to a problem? عدم اتصال موفق در برخی کلاینتها ### Describe the solution you'd like در بسیاری از کانفیگهای موفقی که در شرایط فعلی کشور کار میکنند "scMaxConcurrentPosts": 100 وجود دارد اما پنل MHSanaei این امکان را ندارد پس از تست من و ویرایش فایل json و تست در کلاینت ؛ خیلی از کلاینتهایی که متصل نمیشدند درست شد ### Alternatives you've considered _No response_ ### Concrete use case _No response_ ### Mockups, screenshots, or examples _No response_ ### Which parts of the panel would this affect? Subscription (share links / Clash / JSON) ### 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 - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 9, 2026):

با سلام،

پس از بررسی کامل سورس کد xray-core (که زیربنای این پنل است)، فیلد scMaxConcurrentPosts در پروتکل XHTTP (SplitHTTP) xray-core وجود ندارد.

بررسی فایل config.proto در xray-core (نسخه‌ای که 3x-ui استفاده می‌کند: v1.260327.1) نشان می‌دهد تنها فیلدهای sc* موجود در این پروتکل عبارتند از:

فیلد توضیح پشتیبانی در پنل
scMaxEachPostBytes حداکثر حجم هر POST ✅ (Inbound → packet-up mode)
scMinPostsIntervalMs حداقل فاصله بین POSTها ✅ (Outbound)
scMaxBufferedPosts حداکثر تعداد POSTهای در صف سرور ✅ (Inbound → packet-up mode)
scStreamUpServerSecs مدت زمان اتصال stream-up سرور ✅ (Inbound → stream-up mode)

برای کنترل تعداد اتصالات همزمان در XHTTP، فیلد xmux.maxConcurrency در تنظیمات outbound وجود دارد که در پنل قابل تنظیم است.

سوال: آیا می‌توانید لینک یا منبع مستنداتی که scMaxConcurrentPosts را توضیح داده اشتراک بگذارید؟ این فیلد احتمالاً مربوط به نرم‌افزار دیگری (مثل Sing-box، v2ray-core، یا یک fork) است و نه xray-core. در صورتی که فیلد در xray-core اضافه شود، پنل هم می‌تواند پشتیبانی کند.


After a thorough review of the xray-core source (the engine powering this panel), the field scMaxConcurrentPosts does not exist in xray-core's XHTTP (SplitHTTP) config — it is not defined in config.proto or config.pb.go. Xray-core would silently ignore it in a JSON config, which may explain why results seem improved (confirmation bias or the actual fix came from another field in that config).

Could you share the source/documentation where you found this field? It may belong to a different proxy implementation.

<!-- gh-comment-id:4658971818 --> @github-actions[bot] commented on GitHub (Jun 9, 2026): با سلام، پس از بررسی کامل سورس کد xray-core (که زیربنای این پنل است)، فیلد `scMaxConcurrentPosts` در پروتکل XHTTP (SplitHTTP) xray-core **وجود ندارد**. بررسی فایل `config.proto` در xray-core (نسخه‌ای که 3x-ui استفاده می‌کند: `v1.260327.1`) نشان می‌دهد تنها فیلدهای `sc*` موجود در این پروتکل عبارتند از: | فیلد | توضیح | پشتیبانی در پنل | |---|---|---| | `scMaxEachPostBytes` | حداکثر حجم هر POST | ✅ (Inbound → packet-up mode) | | `scMinPostsIntervalMs` | حداقل فاصله بین POSTها | ✅ (Outbound) | | `scMaxBufferedPosts` | حداکثر تعداد POSTهای در صف سرور | ✅ (Inbound → packet-up mode) | | `scStreamUpServerSecs` | مدت زمان اتصال stream-up سرور | ✅ (Inbound → stream-up mode) | برای کنترل تعداد اتصالات همزمان در XHTTP، فیلد `xmux.maxConcurrency` در تنظیمات **outbound** وجود دارد که در پنل قابل تنظیم است. **سوال**: آیا می‌توانید لینک یا منبع مستنداتی که `scMaxConcurrentPosts` را توضیح داده اشتراک بگذارید؟ این فیلد احتمالاً مربوط به نرم‌افزار دیگری (مثل Sing-box، v2ray-core، یا یک fork) است و نه xray-core. در صورتی که فیلد در xray-core اضافه شود، پنل هم می‌تواند پشتیبانی کند. --- After a thorough review of the xray-core source (the engine powering this panel), the field `scMaxConcurrentPosts` **does not exist** in xray-core's XHTTP (SplitHTTP) config — it is not defined in [`config.proto`](https://github.com/XTLS/Xray-core/blob/main/transport/internet/splithttp/config.proto) or `config.pb.go`. Xray-core would silently ignore it in a JSON config, which may explain why results seem improved (confirmation bias or the actual fix came from another field in that config). Could you share the source/documentation where you found this field? It may belong to a different proxy implementation.
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#3609
No description provided.