Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 14:46:08 +08:00
parent d943b2ebc2
commit 336cc875a1
+5 -2
View File
@@ -8,7 +8,6 @@ trait TSwooleClient
{
/**
* @return array
*/
@@ -18,7 +17,11 @@ trait TSwooleClient
$sslKey = $this->getSslKeyFile();
$sslCa = $this->getCa();
$params = [];
$params = [
'open_eof_check' => true,
'package_eof' => "\r\n\r\n",
'package_max_length' => 1024 * 1024 * 2,
];
if ($this->getConnectTimeout() > 0) {
$params['timeout'] = $this->getConnectTimeout();
}