envoyproxy/envoy

matchers: add firstOf matcher

Open

#20,666 opened on Apr 5, 2022

View on GitHub
 (5 comments) (1 reaction) (1 assignee)C++ (5,373 forks)batch import
area/matchingarea/tlsenhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

For something like ALPN list matching, we need a way to say: iterate over the input, which is a list, until the inner matches accepts. The core API does not provision this use case, so this has to be done as a meta-matcher with a custom matcher.

Contributor guide