Repository navigation
test: require explicit native HTTP route authority - #2094
Closed
chris-beckman wants to merge 2 commits into
Closed
chris-beckman wants to merge 2 commits into
chris-beckman wants to merge 2 commits into
Conversation
Signed-off-by: Chris Beckman <chris@paintedwolf.ai>
Signed-off-by: Chris Beckman <chris@paintedwolf.ai>
Contributor
Author
|
This branch's content is already included in #2097 (the combined UA02 stack) — the branch has no commits beyond it. Reopen or branch from feat/ua02-combined if there's more to add. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explicit native HTTP routing can retain a permitted nominal URL while selecting a different dial recipient. Add a behavioral regression test requiring an authored denial of that explicit recipient to prevent DNS, connections and requests, even when the local fixture socket has independent capability authority. Removing that denial restores exact response bytes and logical Host/request URI across two actions.
The test uses a real local receiver, connection observations and hermetic DNS for literal-address and hostname mappings. It does not claim public-network, TLS, proxy, grant-reuse or full command-entry qualification. Mac focused execution reproduced both baseline failures on d027a11 (tree ffb919c2ced07b7a24e33120d838b6bfe1ab208e): denied address and hostname routes each opened one connection and delivered one request; the hostname route also performed DNS. Authorized recovery assertions did not fail. Batch 8fbf9e1baef241c8a780ffcd1998f920. Independent code-only test review accepted. This PR remains draft pending combined production correction and test review.
Depends on #2066 → #2080 → #2083 → #2084 → #2086 → #2090 → #2092 → #2093.