3proxy/tests/cases
Vladimir Dubrovin cdbd47dc5b Make pcre_extend work, and cover PCRE filtering with tests
The filter walked its list of access rules but tested the first entry each
time round, so anything pcre_extend appended was never consulted and the
command did nothing at all. Test the entry the loop is on.

pcre_extend takes an ACE and no FILTER_ACTION - the rule keeps the action it
was given - so correct the manual, which documented an argument the command
does not read.

The tests cover matching and denial, rule order, client headers, matching
options, the access rule a pcre rule carries, pcre_extend, and rewriting a
reply header and reply data. Request rewriting is covered through an HTTP
parent, which is the path where it reaches the wire.
2026-08-26 10:16:12 +03:00
..
admin.py Add tests 2026-08-25 18:03:50 +03:00
httpsrv_auth.py Add tests 2026-08-25 18:03:50 +03:00
httpsrv_ops.py Add tests 2026-08-25 18:03:50 +03:00
httpsrv_parsing.py Add tests 2026-08-25 18:03:50 +03:00
httpsrv_rules.py Add tests 2026-08-25 18:03:50 +03:00
parent_ports.py Make the TLS and port-range cases hold on every platform 2026-08-26 09:11:56 +03:00
pcre.py Make pcre_extend work, and cover PCRE filtering with tests 2026-08-26 10:16:12 +03:00
proxy_http.py Add tests 2026-08-25 18:03:50 +03:00
socks.py Add tests 2026-08-25 18:03:50 +03:00
ssl.py Read the request body before replying, and generate certificates portably 2026-08-26 09:28:46 +03:00