Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+5
-2
@@ -8,7 +8,6 @@ trait TSwooleClient
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
@@ -18,7 +17,11 @@ trait TSwooleClient
|
|||||||
$sslKey = $this->getSslKeyFile();
|
$sslKey = $this->getSslKeyFile();
|
||||||
$sslCa = $this->getCa();
|
$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) {
|
if ($this->getConnectTimeout() > 0) {
|
||||||
$params['timeout'] = $this->getConnectTimeout();
|
$params['timeout'] = $this->getConnectTimeout();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user