Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 14:51:50 +08:00
parent 4660025775
commit bc5f9b1085
2 changed files with 3 additions and 4 deletions
+2
View File
@@ -113,6 +113,8 @@ class AsyncClient extends ClientAbstracts
$this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content);
$receive = $this->client->recv();
var_dump($receive);
[$header, $body] = explode("\r\n\r\n", $receive);
$header = explode("\r\n", $header);
+1 -4
View File
@@ -17,10 +17,7 @@ trait TSwooleClient
$sslKey = $this->getSslKeyFile();
$sslCa = $this->getCa();
$params = [
'open_eof_check' => true,
'package_eof' => "\r\n\r\n"
];
$params = [];
if ($this->getConnectTimeout() > 0) {
$params['timeout'] = $this->getConnectTimeout();
}