You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2026/07/03 11:51:00 UTC
[jira] [Created] (HTTPCLIENT-2427) ManagedHttpClientConnection.getSSLSession() throws unexpected org.apache.http.impl.conn.ConnectionShutdownException
Konrad Windszus created HTTPCLIENT-2427:
-------------------------------------------
Summary: ManagedHttpClientConnection.getSSLSession() throws unexpected org.apache.http.impl.conn.ConnectionShutdownException
Key: HTTPCLIENT-2427
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2427
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient (classic)
Affects Versions: 4.5.14
Reporter: Konrad Windszus
According to the javadoc of [https://javadoc.io/static/org.apache.httpcomponents/httpclient/4.5/org/apache/http/conn/ManagedHttpClientConnection.html#getSSLSession()]
{quote}Returns:the underlying SSL session if available, {{null}} otherwise
{quote}
However I experienced the following exception:
{code}
org.apache.http.impl.conn.ConnectionShutdownException
at org.apache.http.impl.conn.CPoolProxy.getValidConnection(CPoolProxy.java:77)
at org.apache.http.impl.conn.CPoolProxy.getSSLSession(CPoolProxy.java:137)
....
{code}
This exception is unexpected, instead just {{null}} should be returned here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org