Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fasthttpproxy): add dual-stack connection support to enable IPv6 proxies for HTTP and SOCKS5 dialers #1885

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

lavish440
Copy link
Contributor

  • Added FasthttpHTTPDialerDualStack to support dual-stack (IPv4 and IPv6) connections for HTTP proxies, enabling IPv6 proxy usage.
  • Added FasthttpSocksDialerDualStack to support dual-stack (IPv4 and IPv6) connections for SOCKS5 proxies, enabling IPv6 proxy usage.
  • Improved dialer configuration to ensure compatibility with both IPv4 and IPv6 proxies.

… proxies for HTTP and SOCKS5 dialers

- Added `FasthttpHTTPDialerDualStack` to support dual-stack (IPv4 and IPv6) connections for HTTP proxies, enabling IPv6 proxy usage.
- Added `FasthttpSocksDialerDualStack` to support dual-stack (IPv4 and IPv6) connections for SOCKS5 proxies, enabling IPv6 proxy usage.
- Improved dialer configuration to ensure compatibility with both IPv4 and IPv6 proxies.
Copy link
Contributor

@alexandear alexandear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lavish440
Copy link
Contributor Author

@alexandear Done

@alexandear
Copy link
Contributor

Looks like it's not fully fixed.

@lavish440
Copy link
Contributor Author

Looks like it's not fully fixed.

Done.
Seems like golangci-lint does not like goimports-reviser

@erikdubbelboer erikdubbelboer merged commit 40bdc4a into valyala:master Oct 22, 2024
15 checks passed
@erikdubbelboer
Copy link
Collaborator

Thanks!

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.

3 participants