Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -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
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user