1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

76 Commits

Author SHA1 Message Date
Jean-Frederic Clere
4bc8d94974 Add a test for Bug 69743
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1939335 13f79535-47bb-0310-9956-ffa450edef68
2026-10-22 12:42:23 +00:00
Jean-Frederic Clere
11c896fd0e Allow the --httpd --conf parameter in unix too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1939326 13f79535-47bb-0310-9956-ffa450edef68
2026-10-22 09:44:34 +00:00
Jean-Frederic Clere
502faf44d5 Add --strict-optional to prevent success when missing modules.
Submitted by Maya Echtinaw

This closes #808



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1939059 13f79535-47bb-0310-9956-ffa450edef68
2026-10-12 13:14:38 +00:00
Joe Orton
968022ebc5 * modules/filters/mod_sed.c (sed_request_filter): Fix handling of the
Content-Length request header; unset it after reading from the next
  filter.

* test/pyhttpd/mod_aptest/mod_aptest.c (aptest_getline_echo): Buffer
  the body, and return the Content-Length request header left after
  reading it in an AP-Test-Content-Length response header.

* test/modules/filters/test_003_sed.py (test_filters_003_34): New test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub: PR #791


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938964 13f79535-47bb-0310-9956-ffa450edef68
2026-10-09 19:37:05 +00:00
Joe Orton
f16faef3c2 * modules/filters/mod_sed.c (sed_request_filter): Fix handling of
AP_MODE_GETLINE reads, returning a line of the filtered body; fail
  other modes besides AP_MODE_READBYTES with APR_ENOTIMPL.  Always
  read with AP_MODE_READBYTES from the next filter.

* test/pyhttpd/mod_aptest/mod_aptest.c (aptest_getline_echo): New
  handler.
  (aptest_hooks): Register it.

* test/modules/filters/test_003_sed.py (test_filters_003_33): New test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub: PR #791


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938963 13f79535-47bb-0310-9956-ffa450edef68
2026-10-09 19:36:48 +00:00
Joe Orton
77d2228661 * test/pyhttpd/env.py (HttpdTestSetup._install): Fix shebang line and set
the executable bit for .cgi scripts as well as .py scripts, so CGI
  scripts not named *.py can be run on Windows where the interpreter is
  located from the script shebang.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938687 13f79535-47bb-0310-9956-ffa450edef68
2026-09-29 09:39:44 +00:00
Joe Orton
1a824c67f3 * test/pyhttpd/env.py (HttpdTestSetup._cgi_module,
HttpdTestSetup.add_cgi_module): New, so a suite can ask for CGI
  without naming mod_cgid.
  (HttpdTestSetup._make_modules_conf): Use _cgi_module() for a
  requested "cgid" on every platform, not just Windows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: PR #769


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938491 13f79535-47bb-0310-9956-ffa450edef68
2026-09-24 14:48:33 +00:00
Joe Orton
9c290da241 Revert r1938297 - mod_md tests now hung / timed out in
https://github.com/apache/httpd/actions/runs/35140492695/job/104943495269

modules/md/test_702_auto.py ................FEFEFE.EFEFEFEFE.EFEssFEFE   [ 81%]
modules/md/test_710_profiles.py FEFEFEFE                                 [ 81%]
Error: The operation was canceled.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938300 13f79535-47bb-0310-9956-ffa450edef68
2026-09-16 21:26:49 +00:00
Joe Orton
5105d900ef * test/pyhttpd/env.py (apache_fail): Check the exit code of the
"start" result rather than comparing the ExecResult to 0, which
  never matched, so a started server was never waited for and could
  race with the next test.

* test/modules/md/test_300_conf_validate.py (test_md_300_011a,
  test_md_300_021): Expect the server to start, since an unmanaged
  vhost name only logs a warning; this was hidden by the broken
  apache_fail() check.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: closes #759


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938297 13f79535-47bb-0310-9956-ffa450edef68
2026-09-16 19:25:25 +00:00
Joe Orton
d3a6a151c5 * modules/http/http_protocol.c (make_allow): Don't check for the
M_INVALID bit being set in the method mask if unregistered methods
  are allowed. That bit is never set by ap_method_list_add(), and this
  branch adding unregistered methods to Allow: never followed.

* test/pyhttpd/mod_aptest/mod_aptest.c (aptest_allow_methods): New; pass
  the methods named in an AP-Test-Allow-Methods request header to
  ap_allow_methods().

* test/modules/core/test_009_allow_methods.py: New test suite.

GitHub: closes #758, closes #428
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938291 13f79535-47bb-0310-9956-ffa450edef68
2026-09-16 14:27:37 +00:00
Jean-Frederic Clere
33ac0b6d52 Add -DENABLE_MIME_MAGIC=A as in the windows.yml file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938202 13f79535-47bb-0310-9956-ffa450edef68
2026-09-14 15:35:51 +00:00
Jean-Frederic Clere
93afb5c041 Speed up the tests and xfail some more.
This closes  #753



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938094 13f79535-47bb-0310-9956-ffa450edef68
2026-09-11 05:29:01 +00:00
Jean-Frederic Clere
0b5e046ad9 Add windows tests to the CI
This closes #747



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938069 13f79535-47bb-0310-9956-ffa450edef68
2026-09-10 06:20:43 +00:00
Jean-Frederic Clere
3ffb2beeb0 Followup for 6aa1bce on windows
this close #745



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938032 13f79535-47bb-0310-9956-ffa450edef68
2026-09-09 05:21:02 +00:00
Jean-Frederic Clere
42e7013314 Add the bat files to make the testing more easy.
this closes #746



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937988 13f79535-47bb-0310-9956-ffa450edef68
2026-09-08 07:42:28 +00:00
Jean-Frederic Clere
257d589276 Rollback the incorrect part of Commit 6f1494b
this closes #740



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937960 13f79535-47bb-0310-9956-ffa450edef68
2026-09-07 09:50:25 +00:00
Joe Orton
f723596df6 Attempt to fix new, flaky pyhttpd test core/test_008_restart:
* test/pyhttpd/log.py (HttpdErrorLog.current_pos, .wait_for): New
  methods, to wait for a line logged after a noted position.

* test/pyhttpd/env.py (HttpdTestEnv._apache_signal_restart): New method:
  run "httpd -k restart" or "-k graceful", which only signal the parent,
  then wait for the MPM to log "resuming normal operations" before
  checking is_live().  Until then the answer may come from the old
  generation, with the old config and about to be killed, which showed
  up as an empty reply in test_core_008_03_repeated under ASan.
  (apache_reload, apache_hard_restart): Use it.

Fixes: 7172909eac ("test/modules/core/test_008_restart.py: New test suite for server restart handling.")
GitHub: see also #733

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GitHub: closes #737


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937877 13f79535-47bb-0310-9956-ffa450edef68
2026-09-04 17:15:28 +00:00
Jean-Frederic Clere
995d437065 Arrange pyhttp to pass on windows.
Done with the help of Claude Code Opus 4.6

this closes #732



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937866 13f79535-47bb-0310-9956-ffa450edef68
2026-09-04 14:20:53 +00:00
Jean-Frederic Clere
6f1494b474 Based on [PR665] install what is needed to build Apache httpd with vcpkg in window and fix some tests.
Done with the help of Claude Code Opus 4.6

this closes #731

M    test/modules/http1/env.py
M    test/modules/http2/env.py
M    test/modules/http2/test_006_assets.py
M    test/modules/http2/test_103_upgrade.py
M    test/modules/http2/test_104_padding.py
M    test/modules/http2/test_107_frame_lengths.py
M    test/modules/http2/test_202_trailer.py
M    test/modules/http2/test_400_push.py
M    test/modules/http2/test_401_early_hints.py
M    test/modules/http2/test_710_load_post_static.py
M    test/modules/http2/test_711_load_post_cgi.py
M    test/pyhttpd/certs.py
M    test/pyhttpd/conf/httpd.conf.template
M    test/pyhttpd/env.py


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937863 13f79535-47bb-0310-9956-ffa450edef68
2026-09-04 12:54:05 +00:00
Joe Orton
31d91bb768 * test/pyhttpd/env.py (HttpdTestEnv.apache_hard_restart, read_pid_file):
Moved here from the mod_systemd tests, for use by other suites. [skip ci]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: PR #727


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937635 13f79535-47bb-0310-9956-ffa450edef68
2026-08-30 06:09:01 +00:00
Joe Orton
4abdd206a7 * test/modules/arch/linux/: New test suite.
* test/pyhttpd/env.py (HttpdTestEnv.set_httpd_env, _clean_path_env):
  Allow a suite to add variables to the environment httpd is started
  with.

* test/pyhttpd/conf/stop.conf.template: Set DefaultRuntimeDir and
  PidFile to match httpd.conf, so that "apachectl -k stop" finds the
  running server.

* .github/workflows/linux.yml: Enable systemd testing in the reduced
  exports job, building mod_systemd shared since one test has to omit
  it from the configuration.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: PR #723


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937596 13f79535-47bb-0310-9956-ffa450edef68
2026-08-29 09:11:02 +00:00
Giannis Christodoulou
2414dd2d44 Add --archive option to preserve test results
* test/conftest.py: Add --archive command-line option. Save per-test
    conf snapshots via archive_test_conf after each test. Call archive_logs
    at end of each package.

  * test/pyhttpd/env.py: Add archive_logs and archive_test_conf to copy
    logs and per-test confs to the archive folder, organised by httpd
    version and git/svn revision. Add ignore_files to exclude htdocs,
    shared confs and sockets from per-module copies. Move shared entries
    (ca, ca1, ca2, certs, httpd.conf, mime.types, stop.conf) to _shared/.
    Wipe logs dir at module setup to avoid stale files from previous runs.

  * test/README.pytest: Document the --archive option, folder structure
    and what gets archived.

  Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936981 13f79535-47bb-0310-9956-ffa450edef68
2026-08-07 16:02:07 +00:00
Joe Orton
8d657c6cc3 * test/pyhttpd/env.py (has_h2load): Verify h2load actually resolves,
instead of just checking the config string is non-empty.

Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
GitHub: PR #701


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936973 13f79535-47bb-0310-9956-ffa450edef68
2026-08-07 14:22:39 +00:00
Jim Jagielski
d1852d8f34 test: baseline the pytest suites on uv, drop the pip fallback
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936294 13f79535-47bb-0310-9956-ffa450edef68
2026-07-18 15:30:00 +00:00
Jim Jagielski
5009adf289 Make the Python test suites more robust:
o Call location independence
  o Fully support pip or uv
  o Better reporting of test results when both suites are run
  o Support postitional args for test cases in a reliable manner


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936270 13f79535-47bb-0310-9956-ffa450edef68
2026-07-17 15:49:01 +00:00
Joe Orton
9ffacf84fb * test/pyhttpd/log.py (HttpdErrorLog): Add regex patterns to detect
crash and sanitizer error messages in error log, and treat matching
  lines as errors during log checking.

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>

GitHub: closes #684


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936130 13f79535-47bb-0310-9956-ffa450edef68
2026-07-14 09:25:34 +00:00
Giannis Christodoulou
13190584ab mod_log_config: Add regression for SNI logging (r1927034)
Add SSL test env and SNI logging validation.

Github: closes #621

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934976 13f79535-47bb-0310-9956-ffa450edef68
2026-06-04 09:40:10 +00:00
Jim Jagielski
0581a2f724 test: move runtests-pyhttpd.sh into pyhttpd/ as runtests.sh
Move runtests-pyhttpd.sh from test/ to test/pyhttpd/runtests.sh
  to match the pytest_suite/runtests.sh naming convention.

  - Update internal paths: $here/pyhttpd/... -> $here/... since $here
    now resolves to test/pyhttpd/ itself.
  - Update run-all-tests.sh to call ./pyhttpd/runtests.sh.
  - Update README.pytest and .claude/settings.local.json references.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934955 13f79535-47bb-0310-9956-ffa450edef68
2026-06-04 02:15:25 +00:00
Jim Jagielski
0d13d7a7d2 test/pyhttpd: move pyproject.toml and uv.lock under pyhttpd/
The pyproject.toml and uv.lock belong to the pyhttpd test suite, so move
them from test/ into test/pyhttpd/ where the package itself lives.

Update runtests-pyhttpd.sh to use 'uv sync --project pyhttpd/' and
reference the venv at pyhttpd/.venv/. Fix pyhttpd/env.py to look for
the venv at the same level (pyhttpd/.venv/) instead of the parent dir.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934951 13f79535-47bb-0310-9956-ffa450edef68
2026-06-03 22:32:17 +00:00
Jim Jagielski
70539d366d pyhttpd: fix built-in module loading, add venv support
* detect statically compiled modules via `httpd -l` and skip
  LoadModule for them, fixing startup failure when log_config_module
  (or others) are built into the httpd binary

* add pyproject.toml with all required Python dependencies
  (cryptography, python-multipart, websockets, pyopenssl, etc.)

* add runtests-pyhttpd.sh that creates/reuses a .venv via uv or
  plain python3+pip, mirroring pytest_suite/runtests.sh

* prepend .venv/bin to PATH when launching httpd so CGI scripts
  forked by httpd also use the venv's Python and find all packages

* update run-all-tests.sh to delegate pyhttpd runs to the new script

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934947 13f79535-47bb-0310-9956-ffa450edef68
2026-06-03 20:27:40 +00:00
Jim Jagielski
a9eee4ed75 test/h2: ignore AH02430 for the whole TestRfc9113 class
test_h2_203_02 intentionally triggers AH02430 (illegal response header
  char). Over HTTP/2 the error is logged late during stream teardown and
  can produce several lines, so the per-case ignore_recent() raced them
  and they leaked into a later test's check_error_log(). Move the ignore
  to an autouse class fixture (as conftest.py does for AH10400/AH00045)
  and add HttpdErrorLog.remove_ignored_lognos() to restore on teardown.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934891 13f79535-47bb-0310-9956-ffa450edef68
2026-06-02 15:50:29 +00:00
Joe Orton
b7bd90fc2a Have "make check" run all of the libcheck-based unit tests,
pytest-based tests, and perl-framework-based tests if available.

* test/pyhttpd/env.py (HttpdTestEnv.__init__): Use config.ini from
  $PYHTTPD_CONFIG if set.

* configure.in: Check for pytest-3, add check-pytest to $CHECK_TARGETS
  if found. Add check-unittests to $CHECK_TARGETS if test/httpdunit is
  generated. Add check-test-framework to $CHECK_TARGETS if the Perl test
  framework is present. Stop generating WITH_TEST_SUITE.

* Makefile.in (check): Depend on $CHECK_TARGETS.
  (check-tree, check/bin/apachectl, check/config.ini, check/modules/stamp):
  New targets to fill out the check/ install tree for use with pyhttpd.
  (check-pytest): New target to run pytest-based tests.
  (check-unittests): New target to run libcheck-based tests.
  (check-test-framework): Renamed from "check-yes", runs Perl framework tests.

Github: closes #598


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932079 13f79535-47bb-0310-9956-ffa450edef68
2026-02-28 13:22:38 +00:00
Joe Orton
6393e628c0 feat: add HEIC, HEIF and related mime types
See https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format

Submitted by: Alexandru Mărășteanu <hello alexei.ro>
Github: closes #580


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1930012 13f79535-47bb-0310-9956-ffa450edef68
2025-11-26 11:30:42 +00:00
Joe Orton
3122c0aed4 feat: add vnd.sqlite3 mime type and extensions
Submitted by: Alexandru Mărășteanu <hello alexei.ro>
Github: closes #563


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1929706 13f79535-47bb-0310-9956-ffa450edef68
2025-11-13 09:43:43 +00:00
Stefan Eissing
af10058840 *) mod_md: update to version 2.4.28
- When the server starts, it looks for new, staged certificates to
       activate. If the staged set of files in 'md/staging/<domain>' is messed
       up, this could prevent further renewals to happen. Now, when the staging
       set is present, but could not be activated due to an error, purge the
       whole directory. [icing]
     - Fix certificate retrieval on ACME renewal to not require a 'Location:'
       header returned by the ACME CA. This was the way it was done in ACME
       before it became an IETF standard. Let's Encrypt still supports this,
       but other CAs do not. [icing]
     - Restore compatibility with OpenSSL < 1.1. [ylavic]



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1920747 13f79535-47bb-0310-9956-ffa450edef68
2024-09-17 11:38:19 +00:00
Joe Orton
b5e9884a48 Add jxl mime type
Submitted by: printfn <printfn users.noreply.github.com>
Github: closes #478


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1920589 13f79535-47bb-0310-9956-ffa450edef68
2024-09-12 08:38:39 +00:00
Stefan Eissing
98b9ed685e sync test code with mod-h2
- shutdown server at end of h2 tests
- adapt minimum httpd versions for some tests
- add test_700_20 for load on blocked connections, 
  disabled for now until mpm_event improves
- build websocket client automatically



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919087 13f79535-47bb-0310-9956-ffa450edef68
2024-07-10 10:55:23 +00:00
Rainer Jung
fd1460442a pytest: fix asset list extraction from nghttp output
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918576 13f79535-47bb-0310-9956-ffa450edef68
2024-06-25 09:21:49 +00:00
Joe Orton
ff5aa488fb Add avif mime type
Submitted by: Adam Silverstein <adamsilverstein earthboundhosting.com>
Github: closes #451


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918129 13f79535-47bb-0310-9956-ffa450edef68
2024-06-03 08:44:55 +00:00
Jean-Frederic Clere
d958349e72 Arrange pytest to run with mod_ssl, still skipping some tests.
this closes #433


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1917039 13f79535-47bb-0310-9956-ffa450edef68
2024-04-16 15:02:29 +00:00
Rainer Jung
773a5f8f34 Fix failing pytest modules/http2/test_712_buffering.py:48.
Do not count lines like "00:12:26.578220 <= Recv data, 0 bytes (0x0)"
(which happen before the final close) as receiving a real chunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916806 13f79535-47bb-0310-9956-ffa450edef68
2024-04-04 22:19:09 +00:00
Christophe Jaillet
c9028584a8 Fix a typo (missing "t")
s/redisribution/redistribution/

PR 67018 [<hanskrentel yahoo.de>]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914884 13f79535-47bb-0310-9956-ffa450edef68
2023-12-23 10:30:04 +00:00
Stefan Eissing
9b7dbbea0f Tests: update pytest for curl 8.1.x bugs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911718 13f79535-47bb-0310-9956-ffa450edef68
2023-08-16 10:45:47 +00:00
Yann Ylavic
63a550e969 pytest: Fine tuning for LogLevel vs -v^n.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910848 13f79535-47bb-0310-9956-ffa450edef68
2023-07-07 11:03:17 +00:00
Yann Ylavic
ac622813b2 pytests: Ignore log errors/warnings per function.
It's easier to control errors at the function scope and it avoids ignored
errors/warnings to propagate to the following tests (i.e. mask further
unexpected errors).

github: closes #371



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910844 13f79535-47bb-0310-9956-ffa450edef68
2023-07-07 08:21:21 +00:00
Stefan Eissing
f3c57a99a8 test h2: be more generous in stutter step jittering.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910810 13f79535-47bb-0310-9956-ffa450edef68
2023-07-06 08:24:24 +00:00
Yann Ylavic
773ddc5a4a pyhttpd: Generate core dumps on crash and show them in the ci eventually.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910668 13f79535-47bb-0310-9956-ffa450edef68
2023-06-28 15:20:40 +00:00
Stefan Eissing
3ed9d65b05 *) mod_http2: added support for bootstrapping WebSockets via HTTP/2, as
described in RFC 8441. A new directive 'H2WebSockets on|off' has been
     added. The feature is by default not enabled.
     As also discussed in the manual, this feature should work for setups
     using "ProxyPass backend-url upgrade=websocket" without further changes.
     Special server modules for WebSockets will have to be adapted,
     most likely, as the handling if IO events is different with HTTP/2.
     HTTP/2 WebSockets are supported on platforms with native pipes. This
     excludes Windows.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910507 13f79535-47bb-0310-9956-ffa450edef68
2023-06-20 12:01:09 +00:00
Stefan Eissing
b22bf1e296 tests: synch with recent changes from mod_h2 repository
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910156 13f79535-47bb-0310-9956-ffa450edef68
2023-06-01 10:13:28 +00:00
Stefan Eissing
bdd49d3845 *) mod_http2: v2.0.15 with the following fixes and improvements
- New directive 'H2EarlyHint name value' to add headers to a response,
       picked up already when a "103 Early Hints" response is sent. 'name' and
       'value' must comply to the HTTP field restrictions.
       This directive can be repeated several times and header fields of the
       same names add. Sending a 'Link' header with 'preload' relation will
       also cause a HTTP/2 PUSH if enabled and supported by the client.
     - Fixed an issue where requests were not logged and accounted in a timely
       fashion when the connection returns to "keepalive" handling, e.g. when
       the request served was the last outstanding one.
       This led to late appearance in access logs with wrong duration times
       reported.
     - Accurately report the bytes sent for a request in the '%O' Log format.
       This addresses #203, a long outstanding issue where mod_h2 has reported
       numbers over-eagerly from internal buffering and not what has actually
       been placed on the connection.
       The numbers are now the same with and without H2CopyFiles enabled.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909769 13f79535-47bb-0310-9956-ffa450edef68
2023-05-12 11:28:59 +00:00