Skip to content

Conversation

@arturobernalg
Copy link
Member

Fix SocksProxyProtocolHandler to treat ByteChannel.read() returning -1 as connection closed.
Without this, the handler can spin on EOF during SOCKS negotiation and never fail the session request,
leaving client futures unresolved and blocking callers indefinitely.

Treat ByteChannel.read() returning -1 as connection closed and abort the SOCKS
protocol state machine instead of spinning and leaving session requests pending.
@arturobernalg arturobernalg deleted the HTTPCLIENT-2412 branch January 21, 2026 13:12
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