Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+2
-1
@@ -108,7 +108,7 @@ class AsyncClient extends ClientAbstracts
|
|||||||
{
|
{
|
||||||
$array = $this->_parseHeaders($path);
|
$array = $this->_parseHeaders($path);
|
||||||
|
|
||||||
$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 = $this->waite('');
|
$receive = $this->waite('');
|
||||||
|
|
||||||
Kiri::getDi()->get(Logger::class)->debug($receive);
|
Kiri::getDi()->get(Logger::class)->debug($receive);
|
||||||
@@ -122,6 +122,7 @@ class AsyncClient extends ClientAbstracts
|
|||||||
$this->parseResponseHeaders($header);
|
$this->parseResponseHeaders($header);
|
||||||
$this->setBody($body);
|
$this->setBody($body);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user