[
https://issues.apache.org/jira/browse/HTTPCLIENT-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415442#comment-17415442
]
Oleg Kalnichevski commented on HTTPCLIENT-2135:
-----------------------------------------------
{quote}So the handshake is still timing out, but the exception isn't being
reported.{quote}
[~rschmitt] This might well be a regression caused by massive changes in the
TLS layer due to HTTPCLIENT-2120 but could we tackle the original issue first
and deal with regressions as the next step? So, is new `ConnectionConfig`
settings good enough?
{quote}I'm also not seeing the "route fully established" messages associated
with successful TCP/IP connection establishment.{quote}
The `route fully established` statement was actually fully wrong. The route
cannot be considered fully established until the TLS handshake is successfully
completed, which is presently not the case with 5.0 and 5.1 branches. This was
one of the reasons for TLS changes in the 5.2 branch.
> TLS handshake timeouts cannot be controlled through RequestConfig
> -----------------------------------------------------------------
>
> Key: HTTPCLIENT-2135
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2135
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 5.0.3
> Reporter: Ryan Schmitt
> Priority: Major
> Fix For: 5.2-alpha1
>
>
> Apparently as a consequence of HTTPCLIENT-2091 and/or HTTPCLIENT-2099, TLS
> handshake timeouts can no longer be specified through any of the three
> {{RequestConfig}} timeout parameters (connect, connection request, response).
> The only way to limit TLS handshake duration is through low-level socket
> configuration (socket timeout), which of course affects more than just TLS
> handshakes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]