From f759b5dfb605ed1d13b4bff4de0813b947116f2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 16 Jan 2024 20:32:17 +0100 Subject: [PATCH] Renamed 'http_client' -> 'performance' --- src/Network/HTTPClient/Factory/HttpClient.php | 2 +- static/defaults.config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/HTTPClient/Factory/HttpClient.php b/src/Network/HTTPClient/Factory/HttpClient.php index eaf6003ccb..e0de17c75a 100644 --- a/src/Network/HTTPClient/Factory/HttpClient.php +++ b/src/Network/HTTPClient/Factory/HttpClient.php @@ -123,7 +123,7 @@ class HttpClient extends BaseFactory $resolver->setMaxRedirects(10); $resolver->setRequestTimeout(10); // if the file is too large then exit - $resolver->setMaxResponseDataSize($this->config->get('http_client', 'max_response_data_size', 1000000)); + $resolver->setMaxResponseDataSize($this->config->get('performance', 'max_response_data_size', 1000000)); // Designate a temporary file that will store cookies during the session. // Some websites test the browser for cookie support, so this enhances results. $resolver->setCookieJar(System::getTempPath() .'/resolver-cookie-' . Strings::getRandomName(10)); diff --git a/static/defaults.config.php b/static/defaults.config.php index 769e04df3c..778fd5d4b7 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -621,7 +621,7 @@ return [ // surely not valid but still you need to signup to your testing instance 'only_valid_email_addresses' => true, ], - 'http_client' => [ + 'performance' => [ // max_response_data_size (Integer) // Maximum allowed response data size in Bytes, default is hard-coded value from code 'max_response_data_size' => 1000000, -- 2.39.5