Hi all,

if there are any Android users out there, does anyone know if there is
a need to explicitly provide an SSL session cache with HttpClient 4.2
in order to avoid TLS negotiation with every new TCP connection ?

I've got a repackaged 4.2 (some 4.0.x version is built-into android
and that hogs the org.apache namespace, hence the repackaging), and
I'm finding it very difficult to get the connection/context logs to be
visible.

Something like the following perhaps?


SSLSessionCache sessionCache = new SSLSessionCache(context);

schemeRegistry.register(new Scheme("https",
        SSLCertificateSocketFactory.getHttpSocketFactory(
        SOCKET_OPERATION_TIMEOUT, sessionCache), 443));


Thanks,

John.

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

Reply via email to