Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0-alpha3
-
None
-
Linux, SUN JDK 1.50_09 and IBM JDK 1.4.0 J9 2.3
Description
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
Attachments
Issue Links
- is related to
-
HTTPCORE-658 Closing a connection triggers a javax.net.debug error to be logged
- Resolved