From: Stefan Eissing Date: Thu, 27 Jun 2024 10:03:52 +0000 (+0200) Subject: tests/httpd: adjust ReadBufferSize for better performance X-Git-Tag: curl-8_9_0~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b614224e4b452e2b5c47281d9f76a87b5f2e22e;p=thirdparty%2Fcurl.git tests/httpd: adjust ReadBufferSize for better performance - list httpd and caddy versions in scorecard run Closes #14039 --- diff --git a/tests/http/scorecard.py b/tests/http/scorecard.py index d4e19c101d..8b61517920 100644 --- a/tests/http/scorecard.py +++ b/tests/http/scorecard.py @@ -600,6 +600,7 @@ def main(): caddy = None try: if test_httpd: + print(f'httpd: {env.httpd_version()}, http:{env.http_port} https:{env.https_port}') httpd = Httpd(env=env) assert httpd.exists(), \ f'httpd not found: {env.httpd}' @@ -610,6 +611,7 @@ def main(): nghttpx.clear_logs() assert nghttpx.start() if test_caddy and env.caddy: + print(f'Caddy: {env.caddy_version()}, http:{env.caddy_http_port} https:{env.caddy_https_port}') caddy = Caddy(env=env) caddy.clear_logs() assert caddy.start() diff --git a/tests/http/testenv/httpd.py b/tests/http/testenv/httpd.py index f664d32d89..a8247de4b2 100644 --- a/tests/http/testenv/httpd.py +++ b/tests/http/testenv/httpd.py @@ -246,6 +246,7 @@ class Httpd: f'ErrorLog {self._error_log}', f'LogLevel {self._get_log_level()}', f'StartServers 4', + f'ReadBufferSize 16000', f'H2MinWorkers 16', f'H2MaxWorkers 256', f'H2Direct on',