Reusing TCP connections with HttpsUrlConnection Reusing TCP connections with HttpsUrlConnection android android

Reusing TCP connections with HttpsUrlConnection


I suggest you try reusing SSLContexts instead of creating a new one each time and changing the default for HttpURLConnection ditto. It's sure to inhibit connection pooling the way you have it.

NB getAcceptedIssuers() is not allowed to return null.