Skip to content

feat(router): header-based routing predicates on HTTP frontends - #1891

Merged
FlorentinDUBOIS merged 7 commits into
mainfrom
feat/header-routing
Oct 16, 2026
Merged

FlorentinDUBOIS merged 7 commits into
mainfrom
feat/header-routing

Conversation

@FlorentinDUBOIS

@FlorentinDUBOIS FlorentinDUBOIS commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Add declarative exact, regex and presence predicates to HTTP/HTTPS frontends with AND semantics. Frontend identity normalizes predicate order, header-name case and duplicate predicates; TCP configuration rejects this HTTP-only feature. Preserve H1/H2 routing and frontend removal semantics, with additive protobuf field 17 and guarded request verbs 66–69 for older decoders.

Validation: command tests, H1/H2 end-to-end routing and stability checks, predicate identity and TCP refusal RED/GREEN cases, legacy-decoder refusal, and the existing HTTP/2 simulation (13 passed after its trait implementation was updated). The all-features build, Rust 1.93.1 Clippy, nightly formatting and reference sweep passed. Independent full, correction and documentation reviews approved the final source. The full GitHub Actions matrix must succeed before merge.

Closes #1253

@FlorentinDUBOIS
FlorentinDUBOIS marked this pull request as ready for review October 15, 2026 14:59
@FlorentinDUBOIS
FlorentinDUBOIS marked this pull request as draft October 15, 2026 15:36
Closes #1253

Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
@FlorentinDUBOIS
FlorentinDUBOIS marked this pull request as ready for review October 15, 2026 17:11
Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
Signed-off-by: Florentin Dubois <florentin.dubois@clever.cloud>
@FlorentinDUBOIS
FlorentinDUBOIS merged commit 88a3bfe into main Oct 16, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header-based routing predicates on RequestHttpFrontend

1 participant