This commit is contained in:
2021-12-24 14:45:57 +08:00
parent eec7cb7dcc
commit 29e520b412
+1 -1
View File
@@ -84,7 +84,7 @@ class AsyncClient extends ClientAbstracts
if ($isHttps || $this->isSSL()) {
$this->client->enableSSL();
}
$this->client->set(array_merge($this->settings(), ['package_eof' => "\r\n\r\n", 'open_eof_check' => true, 'open_http_protocol' => true]));
$this->client->set(array_merge($this->settings(), ['open_http_protocol' => true]));
if (!empty($this->getAgent())) {
$this->withAddedHeader('User-Agent', $this->getAgent());
}