diff --git a/Coroutine/Http.php b/Coroutine/Http.php index 8fcc79c..850f34a 100644 --- a/Coroutine/Http.php +++ b/Coroutine/Http.php @@ -99,7 +99,7 @@ class Http extends Component public function initBaseServer(array $config, $daemon) { $this->configs = $config; - foreach ($config['port'] as $value) { + foreach ($config['ports'] as $value) { $this->_addListener($value); } }