Skip to content

Conversation

@hyperxpro
Copy link
Member

Motivation:
SOCKS proxy support for HTTPS requests was broken when adding the SSL handler after the SOCKS handler.

Modification:
Fixed Netty pipeline logic to prevent NoSuchElementException when adding SSL handler after SOCKS handler, restoring HTTPS support for SOCKS4/SOCKS5 proxies.

Fixes: #1913

@hyperxpro hyperxpro merged commit 4fadd37 into AsyncHttpClient:main Sep 12, 2025
3 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.

Exception java.util.NoSuchElementException: socks when making https request with socks5 proxy

1 participant