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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user