Github user ok2c commented on the issue:
https://github.com/apache/httpcomponents-core/pull/94
> Without refactoring of InternalDataChannel it isn't possible to use an
IOEventHandler to do the SOCKS negotiation.
@dmap I would prefer to refactor `InternalDataChannel` in order to
accomplish that if required. Please note, though, that `InternalDataChannel`
can be upgraded to TLS at any point of its life time by calling `#startTls`
method. All `InternalDataChannel` start off as plain and get upgraded to TLS at
a later point. All you might need to do is to delay TLS upgrade until `SOCKS`
handshake has been completed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]