jira-importer opened a new issue, #1380:
URL: https://github.com/apache/httpcomponents-core/issues/1380

   **[Roland 
Weber](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rolandw)** 
opened 
**[HTTPCORE-22](https://issues.apache.org/jira/browse/HTTPCORE-22?redirect=false)**
 and commented
   
   When closing a connection, output and input streams are shut down explicitly 
before the socket itself is closed. IOException get ignored. SSL sockets do not 
implement the partial shutdown. They throw an UnsupportedOperationException, 
which is not ignored.
   
   SUN stack trace:
   Exception in thread "main" java.lang.UnsupportedOperationException: The 
method shutdownOutput() is not supported in SSLSocket
   at 
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.shutdownOutput(BaseSSLSocketImpl.java:192)
   at 
org.apache.http.impl.SocketHttpClientConnection.close(SocketHttpClientConnection.java:151)
   
   IBM stack trace:
   Exception in thread "main" java.lang.UnsupportedOperationException: The 
method shutdownOutput() is not supported in SSLSocket
   at com.ibm.jsse2.ic.shutdownOutput(ic.java:109)
   at 
org.apache.http.impl.SocketHttpClientConnection.close(SocketHttpClientConnection.java:151)
   at 
org.apache.http.examples.conn.OperatorConnectProxy.main(OperatorConnectProxy.java:152)
   
   cheers,
   Roland
   
   
   ---
   
   **Affects:** 4.0-alpha3
   
   **Issue Links:**
   - [HTTPCORE-658](https://issues.apache.org/jira/browse/HTTPCORE-658) Closing 
a connection triggers a javax.net.debug error to be logged
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to