]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/httpd: adjust ReadBufferSize for better performance
authorStefan Eissing <stefan@eissing.org>
Thu, 27 Jun 2024 10:03:52 +0000 (12:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Jun 2024 10:49:39 +0000 (12:49 +0200)
- list httpd and caddy versions in scorecard run

Closes #14039

tests/http/scorecard.py
tests/http/testenv/httpd.py

index d4e19c101debfe27d57425d054dc397ed3071540..8b615179205f60d0e43f9f4337c5032e3edf4fff 100644 (file)
@@ -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()
index f664d32d89450f8de85872d23ee7197420932439..a8247de4b2fa0c6bff0afb566cc6eb4bc023406e 100644 (file)
@@ -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',