1
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ class AsyncClient extends ClientAbstracts
|
|||||||
*/
|
*/
|
||||||
private function generate_client($data, $host, $isHttps, $path): void
|
private function generate_client($data, $host, $isHttps, $path): void
|
||||||
{
|
{
|
||||||
$this->client = new SwowClient(SWOOLE_TCP, TRUE);
|
$this->client = new SwowClient(SWOOLE_TCP, FALSE);
|
||||||
if ($isHttps || $this->isSSL()) {
|
if ($isHttps || $this->isSSL()) {
|
||||||
$this->client->enableSSL();
|
$this->client->enableSSL();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user