[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-2427.
-------------------------------------------
    Resolution: Won't Fix

[~kwin] We are not going to fix any defects in 4.x other than severe security 
issues.

> 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
>            Priority: Minor
>
> 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 when calling 
> {{ManagedHttpClientConnection.getSSLSession()}}:
> {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to