modified bin/scaleway-serve +1 -1
| @@ -70,7 +70,7 @@ $startWarmProcess = static function () use ($handlerFile, $socket) { |
| 70 | 70 | |
| 71 | 71 | $warmProcess = $startWarmProcess(); |
| 72 | 72 | $server = start( |
| 73 | | - [\PHP_BINARY, '-d', 'enable_post_data_reading=0', '-d', 'expose_php=0', '-d', 'default_mimetype=', '-S', $address, __DIR__.'/../resources/emulator/router.php'], |
| 73 | + [\PHP_BINARY, '-d', 'enable_post_data_reading=0', '-d', 'expose_php=0', '-d', 'default_mimetype=', '-d', 'default_charset=', '-S', $address, __DIR__.'/../resources/emulator/router.php'], |
| 74 | 74 | ['SCALEWAY_EMULATOR_AUTOLOAD' => $autoload, 'SCALEWAY_EMULATOR_SOCKET' => $socket] + getenv(), |
| 75 | 75 | ); |
| 76 | 76 | // Children outlive a killed parent, so a SIGTERM would leave the port busy and the Warm Process running. |
| @@ -70,7 +70,7 @@ $startWarmProcess = static function () use ($handlerFile, $socket) { |
| 70 | | 70 | |
| 71 | $warmProcess = $startWarmProcess(); | 71 | $warmProcess = $startWarmProcess(); |
| 72 | $server = start( | 72 | $server = start( |
| 73 | - [\PHP_BINARY, '-d', 'enable_post_data_reading=0', '-d', 'expose_php=0', '-d', 'default_mimetype=', '-S', $address, __DIR__.'/../resources/emulator/router.php'], | 73 | + [\PHP_BINARY, '-d', 'enable_post_data_reading=0', '-d', 'expose_php=0', '-d', 'default_mimetype=', '-d', 'default_charset=', '-S', $address, __DIR__.'/../resources/emulator/router.php'], |
| 74 | ['SCALEWAY_EMULATOR_AUTOLOAD' => $autoload, 'SCALEWAY_EMULATOR_SOCKET' => $socket] + getenv(), | 74 | ['SCALEWAY_EMULATOR_AUTOLOAD' => $autoload, 'SCALEWAY_EMULATOR_SOCKET' => $socket] + getenv(), |
| 75 | ); | 75 | ); |
| 76 | // Children outlive a killed parent, so a SIGTERM would leave the port busy and the Warm Process running. | 76 | // Children outlive a killed parent, so a SIGTERM would leave the port busy and the Warm Process running. |