]> git.ipfire.org Git - thirdparty/curl.git/commit
tests-httpd: basic infra to run curl against an apache httpd plus nghttpx for h3
authorStefan Eissing <stefan@eissing.org>
Mon, 9 Jan 2023 15:58:10 +0000 (16:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Jan 2023 16:40:04 +0000 (17:40 +0100)
commit33ac97e1cb99e04f4833a2fa70636a5bbc23c4ef
tree63a3984432de295a2604935f24df405ac9c56966
parent1c5d8acf79efcf40ba20a232c4133fc81700c809
tests-httpd: basic infra to run curl against an apache httpd plus nghttpx for h3

- adding '--with-test-httpd=<path>' to configure non-standard apache2
  install
- python env and base classes for running httpd
- basic tests for connectivity with h1/h2/h3
- adding test cases for truncated responses in http versions.
- adding goaway test for HTTP/3.
- adding "stuttering" tests with parallel downloads in chunks with
  varying delays between chunks.

- adding a curltest module to the httpd server, adding GOAWAY test.
    - mod_curltest now installs 2 handlers
      - 'echo': writing as response body what came as request body
      - 'tweak': with query parameters to tweak response behaviour
- marked known fails as skip for now

Closes #10175
22 files changed:
.github/scripts/spellcheck.words
.lift/config.toml
configure.ac
lib/http2.c
lib/vquic/curl_ngtcp2.c
tests/tests-httpd/.gitignore [new file with mode: 0644]
tests/tests-httpd/README.md [new file with mode: 0644]
tests/tests-httpd/config.ini.in [new file with mode: 0644]
tests/tests-httpd/conftest.py [new file with mode: 0644]
tests/tests-httpd/test_01_basic.py [new file with mode: 0644]
tests/tests-httpd/test_02_download.py [new file with mode: 0644]
tests/tests-httpd/test_03_goaway.py [new file with mode: 0644]
tests/tests-httpd/test_04_stuttered.py [new file with mode: 0644]
tests/tests-httpd/test_05_errors.py [new file with mode: 0644]
tests/tests-httpd/testenv/__init__.py [new file with mode: 0644]
tests/tests-httpd/testenv/certs.py [new file with mode: 0644]
tests/tests-httpd/testenv/curl.py [new file with mode: 0644]
tests/tests-httpd/testenv/env.py [new file with mode: 0644]
tests/tests-httpd/testenv/httpd.py [new file with mode: 0644]
tests/tests-httpd/testenv/mod_curltest/.gitignore [new file with mode: 0644]
tests/tests-httpd/testenv/mod_curltest/mod_curltest.c [new file with mode: 0644]
tests/tests-httpd/testenv/nghttpx.py [new file with mode: 0644]