3x-ui/web/assets/js/model
MHSanaei d44b70682c
Update QUIC params defaults and UI validations
#4142
Adjust QUIC parameter defaults and tighten form validation across inbound/outbound components.

- Set default brutalUp/brutalDown to 65537 and only include them in JSON when congestion is 'brutal' or 'force-brutal'.
- Change keepAlivePeriod defaults (inbound QUIC -> 5s, Hysteria stream -> 2s) and enforce minimums in the UI.
- Expose and serialize additional QUIC fields in outbound QuicParams: init/max stream windows, init/max connection windows, maxIdleTimeout, disablePathMTUDiscovery, maxIncomingStreams.
- Add UI min/placeholder constraints: stream/connection receive windows min=16384 and updated placeholders to show defaults, brutal fields min=65537, maxIncomingStreams min=8 (placeholders updated), keepAlive min adjusted.
- Add Wireguard and Hysteria entries to Protocols.

Touched files: web/assets/js/model/inbound.js, web/assets/js/model/outbound.js, web/html/form/outbound.html, web/html/form/stream/stream_finalmask.html.
2026-05-04 17:42:55 +02:00
..
dbinbound.js add hysteria inbound 2026-04-20 16:05:27 +02:00
inbound.js Update QUIC params defaults and UI validations 2026-05-04 17:42:55 +02:00
outbound.js Update QUIC params defaults and UI validations 2026-05-04 17:42:55 +02:00
reality_targets.js Update reality_targets.js (#3724) 2026-01-31 23:50:29 +01:00
setting.js feat add clash yaml convert (#3916) 2026-04-19 22:26:13 +02:00