Sergey Poznyakoff
|
9292e783de
|
Implement StringMatch matcher, host and port accessors.
* NEWS: Document changes.
* configure.ac: Version 4.8.90.
* doc/pound.8: Likewise.
* src/config.c (build_regex): Fix the exact matching,
* src/http.c (parse_cond_matcher): Implement COND_STRING_MATCH.
(MATCH_CONDITIONS): Add StringMatch.
(accessors): change signatures.
(accessor_host, accessor_port): New accessors.
(rewrite_apply): Change signature: take struct submatch_queue pointer
as last argument. All uses changed.
(match_cond): Implement COND_STRING_MATCH.
* src/pound.h (query_param_match): Remove struct definition.
(STRING_REF, struct string_match): New types.
(SERVICE_COND): Replace struct query_param_match with string_match.
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Include new tests.
|
2023-08-07 20:05:28 +03:00 |
|