Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 15:33:27 +08:00
parent 2ff2e3cdb8
commit 9c7355d7f6
+4 -2
View File
@@ -109,10 +109,12 @@ class AsyncClient extends ClientAbstracts
$array = $this->_parseHeaders($path);
if ($this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content)) {
$receive = $this->waite($this->client, '');
$receive = '';
while ($tmp = $this->client->recv()) {
$receive .= $tmp;
}
Kiri::getDi()->get(Logger::class)->debug($receive);
[$header, $body] = explode("\r\n\r\n", $receive);
$header = explode("\r\n", $header);