Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+1
-3
@@ -79,9 +79,7 @@ class AsyncClient extends ClientAbstracts
|
||||
$this->client = new SwowClient(SWOOLE_TCP, FALSE);
|
||||
$this->client->set(array_merge($this->settings(), [
|
||||
'open_http_protocol' => true,
|
||||
'open_eof_check' => true,
|
||||
'package_eof' => "\r\n\r\n",
|
||||
'package_max_length' => 1024 * 1024 * 2,
|
||||
'open_eof_check' => true
|
||||
]));
|
||||
if (!$this->client->connect($host, $this->getPort())) {
|
||||
throw new Exception('链接失败');
|
||||
|
||||
Reference in New Issue
Block a user