From 99f79b761648bafd0c53dbbf2807a79decf797e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 11 Jan 2022 14:59:59 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- AsyncClient.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AsyncClient.php b/AsyncClient.php index 6f5db46..fac2462 100644 --- a/AsyncClient.php +++ b/AsyncClient.php @@ -78,8 +78,7 @@ class AsyncClient extends ClientAbstracts { $this->client = new SwowClient(SWOOLE_TCP, FALSE); $this->client->set(array_merge($this->settings(), [ - 'open_http_protocol' => true, - 'open_eof_check' => true + 'open_http_protocol' => true ])); if (!$this->client->connect($host, $this->getPort())) { throw new Exception('链接失败');