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

10 Commits

Author SHA1 Message Date
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
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
Stefan Eissing
61ebb22bf9 Sync with v2.0.10 from github:
* Extensive testing in production done by Alessandro Bianchi (@alexskynet)
   on the v2.0.x versions for stability. Many thanks!
 * refactored stream response handling to reflect the different phases
   (response/data/trailers) more clearly and help resolving cpu busy loops.
 * Adding more negative tests for handling of errored responses to cover
   edge cases.
 * mod_http2: fixed handling of response where neiter an EOS nor an ERROR was
   received as a cause to reset the stream.
 * mod_proxy_http2: generating error buckets for fault response bodies, to
   signal failure to fron when response header were already sent.

v2.0.9
--------------------------------------------------------------------------------
 * Fixed a bug where errors during reponse body handling did not lead to
   a proper RST_STREAM. Instead processing went into an infinite loop.
   Extended test cases to catch this condition.

v2.0.8
--------------------------------------------------------------------------------
 * Delaying input setup of a stream just before processing starts. This allows
   any EOS indicator arriving from the client before that to take effect.
   Without knowing that a stream has no input, internal processing has to
   simulate chunked encoding. This is not wrong, but somewhat more expensive
   and mod_security has been reported to be allergic to seeing 'chunked'
   on some requests. See <https://bz.apache.org/bugzilla/show_bug.cgi?id=66282>.
 * mod_proxy_http2: fixed #235 by no longer forwarding 'Host:' header when
   request ':authority' is known. Improved test case that did not catch that
   the previous 'fix' was incorrect.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904522 13f79535-47bb-0310-9956-ffa450edef68
2022-10-11 14:54:08 +00:00
Stefan Eissing
dc18031936 *) mod_http: genereate HEADERS buckets for trailers
mod_proxy: forward trailers on chunked request encoding
     test: add http/1.x test cases in pytest



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899552 13f79535-47bb-0310-9956-ffa450edef68
2022-04-04 11:08:58 +00:00
Stefan Eissing
bca2e9c14c *) test cases
- disabling test_h2_105_02 due to handshake timeouts no longer working
     - adjusting some log levels
     - ignoring new handshake error AHLOGNOs



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897650 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 10:40:30 +00:00
Stefan Eissing
5144278ddb * test: allow more flexibility in the ssl modules used
for a vhost. Adjust http2 and md test cases for working
    with modules other than mod_ssl.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895429 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 15:58:30 +00:00
Stefan Eissing
7840e7d212 * testsuite: possible now to issue client certificates and the chain file for them
* testsuite: handling of cert+key in same file improved
 * testsuite: using 'stop' configuration to terminate server in case test cases
   leave borked test configs lying around.
   


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894919 13f79535-47bb-0310-9956-ffa450edef68
2021-11-10 15:54:27 +00:00
Stefan Eissing
0ecb9153ce * test: just general cleanup and separation
- base modules loaded minimized
   - h2's htdocs/cgi setup now in test/modules/http2
   - less args to constructors, more methods



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894832 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 12:33:46 +00:00
Stefan Eissing
7b83bd03a9 * test: update of python test framework after integration with mod_md
test suite that should come here soonish. 



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894599 13f79535-47bb-0310-9956-ffa450edef68
2021-10-28 12:50:02 +00:00
Stefan Eissing
ded853c7ca * test infrastruture:
- moved common pytest code into test/pyhttpd
   - does basic setup for a list of host names and some htdocs
   - added modules/core and moved encoding tests from http2 there
   - all test methods have module name in in prefix now, so to test only core, run
     > pytest -k test_core



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894134 13f79535-47bb-0310-9956-ffa450edef68
2021-10-11 14:08:57 +00:00