diff --git a/AsyncClient.php b/AsyncClient.php index 828a167..e0dcd78 100644 --- a/AsyncClient.php +++ b/AsyncClient.php @@ -110,6 +110,9 @@ class AsyncClient extends ClientAbstracts $this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content); $receive = $this->client->recv(); + if ($tmp = $this->client->recv()) { + $receive .= $tmp; + } Kiri::getDi()->get(Logger::class)->debug($receive); [$header, $body] = explode("\r\n\r\n", $receive);