diff --git a/tests/Sample/config/jacked-server-http.php b/tests/Sample/config/jacked-server-http.php index 43023d6..f9a8c5c 100644 --- a/tests/Sample/config/jacked-server-http.php +++ b/tests/Sample/config/jacked-server-http.php @@ -53,6 +53,10 @@ // @phpstan-ignore-next-line // 'pid_file' => $_ENV['JACKED_SERVER_PID_FILE'] ?? ROOT_DIR . '/jacked-server.pid', + + 'http_compression' => ($_ENV['JACKED_SERVER_HTTP_COMPRESSION'] ?? 'true') === 'true', + 'http_compression_level' => (int) ($_ENV['JACKED_SERVER_HTTP_COMPRESSION_LEVEL'] ?? 1), + 'http_parse_cookie' => ($_ENV['JACKED_SERVER_HTTP_PARSE_COOKIE'] ?? 'true') === 'true', ], // ------------------------------------------------------------ diff --git a/tests/Sample/config/jacked-server.php b/tests/Sample/config/jacked-server.php index 8001e6f..8f8c629 100644 --- a/tests/Sample/config/jacked-server.php +++ b/tests/Sample/config/jacked-server.php @@ -53,6 +53,10 @@ // @phpstan-ignore-next-line // 'pid_file' => $_ENV['JACKED_SERVER_PID_FILE'] ?? ROOT_DIR . '/jacked-server.pid', + + 'http_compression' => ($_ENV['JACKED_SERVER_HTTP_COMPRESSION'] ?? 'true') === 'true', + 'http_compression_level' => (int) ($_ENV['JACKED_SERVER_HTTP_COMPRESSION_LEVEL'] ?? 1), + 'http_parse_cookie' => ($_ENV['JACKED_SERVER_HTTP_PARSE_COOKIE'] ?? 'true') === 'true', ], // ------------------------------------------------------------ diff --git a/tests/Sample/ws-auth/jacked-server-with-ws-auth-2.php b/tests/Sample/ws-auth/jacked-server-with-ws-auth-2.php index b879b34..7288417 100644 --- a/tests/Sample/ws-auth/jacked-server-with-ws-auth-2.php +++ b/tests/Sample/ws-auth/jacked-server-with-ws-auth-2.php @@ -53,6 +53,10 @@ // @phpstan-ignore-next-line // 'pid_file' => $_ENV['JACKED_SERVER_PID_FILE'] ?? ROOT_DIR . '/jacked-server.pid', + + 'http_compression' => ($_ENV['JACKED_SERVER_HTTP_COMPRESSION'] ?? 'true') === 'true', + 'http_compression_level' => (int) ($_ENV['JACKED_SERVER_HTTP_COMPRESSION_LEVEL'] ?? 1), + 'http_parse_cookie' => ($_ENV['JACKED_SERVER_HTTP_PARSE_COOKIE'] ?? 'true') === 'true', ], 'conveyor-options' => [ 'websocket-auth-token' => $_ENV['JACKED_SERVER_WEBSOCKET_AUTH_TOKEN'] ?? null, diff --git a/tests/Sample/ws-auth/jacked-server-with-ws-auth.php b/tests/Sample/ws-auth/jacked-server-with-ws-auth.php index 920ce5e..2f29d0a 100644 --- a/tests/Sample/ws-auth/jacked-server-with-ws-auth.php +++ b/tests/Sample/ws-auth/jacked-server-with-ws-auth.php @@ -53,6 +53,10 @@ // @phpstan-ignore-next-line // 'pid_file' => $_ENV['JACKED_SERVER_PID_FILE'] ?? ROOT_DIR . '/jacked-server.pid', + + 'http_compression' => ($_ENV['JACKED_SERVER_HTTP_COMPRESSION'] ?? 'true') === 'true', + 'http_compression_level' => (int) ($_ENV['JACKED_SERVER_HTTP_COMPRESSION_LEVEL'] ?? 1), + 'http_parse_cookie' => ($_ENV['JACKED_SERVER_HTTP_PARSE_COOKIE'] ?? 'true') === 'true', ], 'conveyor-options' => [ 'websocket-auth-token' => $_ENV['JACKED_SERVER_WEBSOCKET_AUTH_TOKEN'] ?? null,