mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 20:15:46 +00:00
test(e2e): add routing matcher module e2e test suite
Verify node-level routing matchers via a two-proxy relay: a forward proxy whose only chain node carries matcher Host(`tcp-echo`) is only eligible for a matching Host, so the request is relayed upstream to the echo server; a non-matching Host is excluded (no eligible node) and never reaches the echo server. Mirrors the resolver/ingress e2e pattern.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
# Upstream relay target for the routing matcher test: a plain forward proxy
|
||||
# that reaches the echo server directly.
|
||||
services:
|
||||
- name: proxy
|
||||
addr: ":8081"
|
||||
handler:
|
||||
type: http
|
||||
listener:
|
||||
type: tcp
|
||||
Reference in New Issue
Block a user