From fed145a43fd3626e828d3bbc5c30ad43e2320cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 14 Feb 2022 11:30:06 +0800 Subject: [PATCH] modify plugin name --- Coroutine/Http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }