We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cae88f commit da35868Copy full SHA for da35868
bin/createSwooleServer.php
@@ -5,8 +5,8 @@
5
try {
6
$server = new Swoole\Http\Server(
7
$serverState['host'] ?? '127.0.0.1',
8
- $serverState['port'] ?? '8080',
9
- SWOOLE_PROCESS,
+ $serverState['port'] ?? 8080,
+ $serverState['mode'] ?? SWOOLE_PROCESS,
10
($config['swoole']['ssl'] ?? false)
11
? SWOOLE_SOCK_TCP | SWOOLE_SSL
12
: SWOOLE_SOCK_TCP,
0 commit comments