Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+5
-1
@@ -110,7 +110,11 @@ class AsyncClient extends ClientAbstracts
|
|||||||
|
|
||||||
if ($this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content)) {
|
if ($this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content)) {
|
||||||
$receive = '';
|
$receive = '';
|
||||||
while ($tmp = $this->client->recv()) {
|
while (true) {
|
||||||
|
$tmp = $this->client->recv();
|
||||||
|
if (empty($tmp)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
$receive .= $tmp;
|
$receive .= $tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user