Skip to content

Add curl-compatible --resolve option - #1131

Merged
ryanfowler merged 1 commit into
mainfrom
feat/resolve-option
Aug 26, 2026
Merged

Add curl-compatible --resolve option#1131
ryanfowler merged 1 commit into
mainfrom
feat/resolve-option

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • add repeatable --resolve HOST:PORT:IP support with curl-compatible wildcard, IPv6, comma-separated, and + forms
  • apply static mappings across HTTP/1.1, HTTP/2, HTTP/3, TLS inspection, DoH bootstrap, Alt-Svc, ECH/SVCB, and curl import paths while preserving Host/SNI
  • add parser, transport, integration, and resolver race coverage and update CLI documentation

Verification

  • go test -v -parallel 8 ./...
  • go build .
  • staticcheck ./...
  • go mod tidy && go mod verify
  • go test -race ./internal/resolver

@ryanfowler
ryanfowler merged commit bf8b929 into main Aug 26, 2026
12 checks passed
@ryanfowler
ryanfowler deleted the feat/resolve-option branch August 26, 2026 19:20
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.

1 participant