diff --git a/AsyncClient.php b/AsyncClient.php index b31595f..b7f23b8 100644 --- a/AsyncClient.php +++ b/AsyncClient.php @@ -118,7 +118,7 @@ class AsyncClient extends ClientAbstracts $receive = ''; while (true) { $_tmp = $this->client->recv(); - if (empty($receive)) { + if (empty($_tmp)) { break; } $receive .= $_tmp;