[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[iaik-ssl] Closing connection with HttpsURLConnection
How can I control the connection of HttpsURLConnection (i.e. close it
whenever I want) to a certain server?
If I use the HttpsURLConnection.disconnect(), it doesn't really close the
socket which lies underneath.
Also close()ing the OutputStream / InputStream won't do.
It seems that the class manages the connections by itself without my ability
to effect it.
Even in HttpsDemo, the connection really closes only when the application
terminates, and not even after the method which created this connection
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html
To unsubscribe send an email to firstname.lastname@example.org with the folowing content: UNSUBSCRIBE iaik-ssl