Fix XHTTP range defaults (sc_max_each_post_bytes, sc_min_posts_interval_ms) to be strings, as expected by sing-box json parser

This commit is contained in:
Dushnilin
2026-07-20 14:41:25 +03:00
parent 41c6a7c114
commit 3f96374c5e
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ function apply_transport(inbound, section, protocol) {
transport.headers = {};
transport.x_padding_bytes = "100-1000";
transport.no_sse_header = false;
transport.sc_max_each_post_bytes = 1000000;
transport.sc_max_each_post_bytes = "1000000";
transport.sc_max_buffered_posts = 30;
transport.sc_stream_up_server_secs = "20-80";
transport.server_max_header_bytes = 8192;