bneradt opened a new pull request, #13438: URL: https://github.com/apache/trafficserver/pull/13438
Exact `url=` entries in `cache.config` are currently inserted only when record initialization fails. Successfully parsed rules are silently dropped, so their cache actions never apply, while failed rules incorrectly advance matcher state. Correct the success check, add focused `UrlMatcher` unit coverage, and add an exact-URL replay AuTest. The replay helper now accepts `cache_config` entries with dynamic server ports so this behavior can be tested end to end. Testing: - Original code: `cache-exact-url` fails with `expected 201 got 200` - Fixed code: `test_proxy "[ControlMatcher]"` passes 13 assertions - Fixed code: `cache-exact-url` passes Fixes #13421 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
