summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mod_md pytest: fix run on a clean test/gen to createStefan Eissing2024-09-174-3/+10
| | | | | | | | all needed directories. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1920751 13f79535-47bb-0310-9956-ffa450edef68
* *) mod_md: update to version 2.4.28Stefan Eissing2024-09-1711-138/+232
| | | | | | | | | | | | | | | | | - 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
* removed experimental mod_tls. source, documenation and test casesStefan Eissing2024-09-1730-1946/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1920744 13f79535-47bb-0310-9956-ffa450edef68
* Add jxl mime typeJoe Orton2024-09-121-0/+1
| | | | | | | | 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
* CI: Fix OpenSSL tarball download URLs after openssl.org site refreshJoe Orton2024-07-262-6/+28
| | | | | | | | | | | | | | | | | | | | | | CI: Update to latest OpenSSL releases. CI: Build OpenSSL with RPATH set so that the installed ./bin/openssl works without LD_LIBRARY_PATH set. Use LD_RUN_PATH during the httpd build to achieve the same with binaries from the httpd build, but unset it after so that it doesn't affect running e.g. php-fpm or perl later. Should fix warning from logs when php-fpm is executed -- [26-Jul-2024 07:43:34] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/lib/php/20210902/curl.so (/lib/x86_64-linux-gnu/libcurl.so.4: undefined symbol: ENGINE_init, version OPENSSL_3.0.0), /usr/lib/php/20210902/curl.so.so (/usr/lib/php/20210902/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 CI: Test that php-fpm works if available before testing. CI: For paranoia/future debugging, log the OpenSSL version from compile-time and run-time as reported by mod_ssl. Github: closes #466 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919524 13f79535-47bb-0310-9956-ffa450edef68
* Reenable test class, upstream bug fixed in pebble.Rainer Jung2024-07-241-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919491 13f79535-47bb-0310-9956-ffa450edef68
* Skip more h2 tests in preforkRainer Jung2024-07-182-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919334 13f79535-47bb-0310-9956-ffa450edef68
* Skip h2 tests on preforkRainer Jung2024-07-184-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919332 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in test nameRainer Jung2024-07-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919330 13f79535-47bb-0310-9956-ffa450edef68
* Make sure pytest shuts down the web server after each packageRainer Jung2024-07-165-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919265 13f79535-47bb-0310-9956-ffa450edef68
* test http1, add version check for trailer testsStefan Eissing2024-07-111-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919125 13f79535-47bb-0310-9956-ffa450edef68
* sync test code with mod-h2Stefan Eissing2024-07-107-4/+61
| | | | | | | | | | | | - 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
* pytest: fix asset list extraction from nghttp outputRainer Jung2024-06-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918576 13f79535-47bb-0310-9956-ffa450edef68
* Add avif mime typeJoe Orton2024-06-031-0/+1
| | | | | | | | 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
* CI: For LDAP tests, switch to using OpenLDAP slapd running onJoe Orton2024-05-303-6/+6
| | | | | | | | | CentOS Stream 9. Github: closes #450 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918059 13f79535-47bb-0310-9956-ffa450edef68
* * mod_tls: update version of rustls-ffi to v0.13.0. Stefan Eissing2024-04-223-3/+3
| | | | | | | | [Daniel McCarney (@cpu}] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1917270 13f79535-47bb-0310-9956-ffa450edef68
* Arrange pytest to run with mod_ssl, still skipping some tests.Jean-Frederic Clere2024-04-1611-17/+180
| | | | | | | this closes #433 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1917039 13f79535-47bb-0310-9956-ffa450edef68
* make the compiler happy when using --enable-maintainer-modeJean-Frederic Clere2024-04-161-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1917013 13f79535-47bb-0310-9956-ffa450edef68
* mod_md: update to v2.4.26Stefan Eissing2024-04-088-267/+53
| | | | | | | | | | | | | | | | | | | | | | - Using OCSP stapling information to trigger certificate renewals. Proposed by @frasertweedale. - Added directive `MDCheckInterval` to control how often the server checks for detected revocations. Added proposals for configurations in the README.md chapter "Revocations". - OCSP stapling: accept OCSP responses without a `nextUpdate` entry which is allowed in RFC 6960. Treat those as having an update interval of 12 hours. Added by @frasertweedale. - Adapt OpenSSL usage to changes in their API. By Yann Ylavic. Test Updates - workarounds for using Pebble v2.5 - disable EAB tests for Pebble since v2.5 no longer supports HS256 FWT for EAB keys - some stability improvemnets in error/warning checks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916861 13f79535-47bb-0310-9956-ffa450edef68
* Fix occasional pytest failuresRainer Jung2024-04-061-2/+2
| | | | | | | | | | | | in modules/http2/test_800_websockets.py (test_h2_800_03_not_found and test_h2_800_05_non_ws_delay_resource) due to additional RST messages. Maybe we should allow RST after EOF in all websocket tests? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916830 13f79535-47bb-0310-9956-ffa450edef68
* Fix occasional pytest failuresRainer Jung2024-04-051-2/+2
| | | | | | | | | | in modules/http2/test_800_websockets.py (test_h2_800_04_non_ws_resource and test_h2_800_09b_unsupported) due to additional RST messages. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916808 13f79535-47bb-0310-9956-ffa450edef68
* Fix failing pytest modules/http2/test_712_buffering.py:48.Rainer Jung2024-04-051-1/+1
| | | | | | | | 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
* Fix pytest failure when using older nghttp2Rainer Jung2024-04-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916804 13f79535-47bb-0310-9956-ffa450edef68
* CI: add OpenSSL 3.2, test OpenSSL 3.x using Apache::TestJoe Orton2024-03-011-0/+7
| | | | | | | trunk to pick up r1916067. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916068 13f79535-47bb-0310-9956-ffa450edef68
* CI: docs update only. [skip ci]Joe Orton2024-02-291-18/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916059 13f79535-47bb-0310-9956-ffa450edef68
* CI: Add OpenSSL 3.1 builds, including a no-engine build.Joe Orton2024-02-292-1/+3
| | | | | | | | | | (attempt to use 3.2 failed, unsure why) - add OpenSSL build binaries to $PATH Github: closes #415 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916058 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression in r1916055 - don't duplicate logic in _run_linux.shJoe Orton2024-02-291-3/+3
| | | | | | | from _before_linux.sh in whether the perl-framework is used/needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916056 13f79535-47bb-0310-9956-ffa450edef68
* CI tweaks:Joe Orton2024-02-292-8/+4
| | | | | | | | | | - don't install CPAN modules if NO_TEST_FRAMEWORK is set - remove the workaround for mod_h2 APR build caching which should no longer be necessary now caching is fixed - fix capturing specific perl-framework failures with "TEST -v" mode git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916055 13f79535-47bb-0310-9956-ffa450edef68
* CI: Enable caching for the rustls install used for mod_tls testing.Joe Orton2024-02-292-10/+15
| | | | | | | Github: closes #416 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916052 13f79535-47bb-0310-9956-ffa450edef68
* Minor CI changes:Joe Orton2024-02-011-168/+180
| | | | | | | | | | | | | - Add --enable-reduced-exports test. - test running apachectl -V in the TEST_INSTALL case - test running httpd -V in the SKIP_TESTING case - rejig to exit if SKIP_TESTING, un-nest the if block around testing (no functional change from this part) Github: closes #405 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915513 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo (missing "t")Christophe Jaillet2023-12-231-1/+1
| | | | | | | | 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
* ci: Disable ASan's LeakSanitizer.Yann Ylavic2023-11-161-1/+1
| | | | | | | | | | The tool sometimes/somehow crashes in CI, though I can't reproduce locally. Possibly an issue with the gcc toolchain used there.. disable for now as it makes the tests fail. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913830 13f79535-47bb-0310-9956-ffa450edef68
* * Fix .gdbinit directory locationRuediger Pluem2023-10-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913441 13f79535-47bb-0310-9956-ffa450edef68
* * .gdbinit is one level deeperRuediger Pluem2023-10-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913439 13f79535-47bb-0310-9956-ffa450edef68
* * Systemd based systems might process core dumps via systemd-coredump.Ruediger Pluem2023-10-301-0/+3
| | | | | | | But we want to have local unprocessed files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913437 13f79535-47bb-0310-9956-ffa450edef68
* *) mod_proxy_http2: fix `X-Forward-Host` header to carry the correct value.Stefan Eissing2023-09-082-13/+40
| | | | | | | | Fixed PR66752. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1912180 13f79535-47bb-0310-9956-ffa450edef68
* Tests: update pytest for curl 8.1.x bugsStefan Eissing2023-08-164-25/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911718 13f79535-47bb-0310-9956-ffa450edef68
* *) mod_http2: Fix reporting of `Total Accesses` in server-status to not countStefan Eissing2023-07-261-4/+44
| | | | | | | | HTTP/2 requests twice. Fixes PR 66801. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911291 13f79535-47bb-0310-9956-ffa450edef68
* * mod_md:Stefan Eissing2023-07-145-2/+383
| | | | | | | | | | | | | | | | | | | | - New directive `MDMatchNames all|servernames` to allow more control over how MDomains are matched to VirtualHosts. - New directive `MDChallengeDns01Version`. Setting this to `2` will provide the command also with the challenge value on `teardown` invocation. In version 1, the default, only the `setup` invocation gets this parameter. Refs #312. Thanks to @domrim for the idea. - For Managed Domain in "manual" mode, the checks if all used ServerName and ServerAlias are part of the MDomain now reports a warning instead of an error (AH10040) when not all names are present. - MDChallengeDns01 can now be configured for individual domains. Using PR from Jérôme Billiras (@bilhackmac) and adding test case and fixing proper working - Fixed a bug found by Jérôme Billiras (@bilhackmac) that caused the challenge teardown not being invoked as it should. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910996 13f79535-47bb-0310-9956-ffa450edef68
* test: update http2 test 008_03 for curl allowing the server to send almost ↵Stefan Eissing2023-07-141-1/+8
| | | | | | all data git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910995 13f79535-47bb-0310-9956-ffa450edef68
* pytest: Fine tuning for LogLevel vs -v^n.Yann Ylavic2023-07-071-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910848 13f79535-47bb-0310-9956-ffa450edef68
* pytests: Ignore log errors/warnings per function.Yann Ylavic2023-07-0744-368/+762
| | | | | | | | | | | | 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
* test h2: be more generous in stutter step jittering.Stefan Eissing2023-07-062-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910810 13f79535-47bb-0310-9956-ffa450edef68
* proxy_util: revert timeout selection on a proxy tunnel back toStefan Eissing2023-07-061-2/+24
| | | | | | | | | | | take the large of client/origin values. Add websocket test to verify that longer proxypass timeout is in effect. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910809 13f79535-47bb-0310-9956-ffa450edef68
* Use 'git clone' rather than 'svn export' in CI scripts.Joe Orton2023-07-051-32/+3
| | | | | | | | | | Drop unused run_svn_export. Run git clone with -q throughout. Github: closes #368 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910790 13f79535-47bb-0310-9956-ffa450edef68
* tests: another sync of the http2 testsStefan Eissing2023-06-302-9/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910702 13f79535-47bb-0310-9956-ffa450edef68
* tests: sync mod_http2 tests with mod_h2 and 2.4.x version checksStefan Eissing2023-06-306-18/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910701 13f79535-47bb-0310-9956-ffa450edef68
* pyhttpd: Generate core dumps on crash and show them in the ci eventually.Yann Ylavic2023-06-282-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910668 13f79535-47bb-0310-9956-ffa450edef68
* test_800_websockets: AH10467 is an expected error for the _fail_proto test.Yann Ylavic2023-06-281-7/+8
| | | | | | | | | So ignore it, and move the _fail_proto test first to avoid messing up with the error logs of the other tests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910667 13f79535-47bb-0310-9956-ffa450edef68
* *) mod_http2: new directive `H2ProxyRequests on|off` to enable handlingStefan Eissing2023-06-281-0/+79
| | | | | | | | | | | of HTTP/2 requests in a forward proxy configuration. General forward proxying is enabled via `ProxyRequests`. If the HTTP/2 protocol is also enabled for such a server/host, this new directive is needed in addition. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910656 13f79535-47bb-0310-9956-ffa450edef68