From a0f197d98d1f0dbde9d0938617b11dc366001334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 24 Dec 2021 11:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AsyncClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncClient.php b/src/AsyncClient.php index e17ff4b..f39acb9 100644 --- a/src/AsyncClient.php +++ b/src/AsyncClient.php @@ -114,7 +114,7 @@ class AsyncClient extends ClientAbstracts } } $this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content); - $revice = $this->client->recv(); + $revice = gzdecode($this->client->recv()); var_dump(implode("\r\n", $array) . "\r\n\r\n" . $revice); [$header, $body] = explode("\r\n\r\n", $revice);