diff --git a/app/Protocols/SingBox.php b/app/Protocols/SingBox.php index a0e1e18..5fd19c0 100644 --- a/app/Protocols/SingBox.php +++ b/app/Protocols/SingBox.php @@ -148,7 +148,7 @@ class SingBox $array['transport']['path'] = $wsSettings['path']; if (isset($wsSettings['headers']['Host']) && !empty($wsSettings['headers']['Host'])) $array['transport']['headers'] = ['Host' => array($wsSettings['headers']['Host'])]; - $array['transport']['max_early_data'] = 2048; + $array['transport']['max_early_data'] = 2560; $array['transport']['early_data_header_name'] = 'Sec-WebSocket-Protocol'; } } @@ -216,7 +216,7 @@ class SingBox $array['transport']['path'] = $wsSettings['path']; if (isset($wsSettings['headers']['Host']) && !empty($wsSettings['headers']['Host'])) $array['transport']['headers'] = ['Host' => array($wsSettings['headers']['Host'])]; - $array['transport']['max_early_data'] = 2048; + $array['transport']['max_early_data'] = 2560; $array['transport']['early_data_header_name'] = 'Sec-WebSocket-Protocol'; } } @@ -271,7 +271,7 @@ class SingBox if (isset($server['network_settings']['headers']['Host'])) { $array['transport']['headers'] = ['Host' => array($server['network_settings']['headers']['Host'])]; } - $array['transport']['max_early_data'] = 2048; + $array['transport']['max_early_data'] = 2560; $array['transport']['early_data_header_name'] = 'Sec-WebSocket-Protocol'; } } @@ -318,4 +318,4 @@ class SingBox return $array; } -} \ No newline at end of file +}