This commit is contained in:
2021-03-31 11:08:58 +08:00
parent 883a78354a
commit b9b5634461
+1 -1
View File
@@ -230,7 +230,7 @@ class Http2 extends Component
} else { } else {
$port = 80; $port = 80;
} }
$client = new H2Client($domain, $port, $isSsl); $client = new H2Client($domain, (int)$port, $isSsl);
$client->set([ $client->set([
'timeout' => $timeout, 'timeout' => $timeout,
'ssl_host_name' => $domain 'ssl_host_name' => $domain