I am making an SSL connection to the server every 30 seconds, and cants stand the overhead of the SSL Handshake which takes almost 6K. What i want to do is use SSL Session Resumption (make my client use SID received from the server in previous session)
i have read this post: Reusing SSL Sessions in Android with HttpClient but the magic solution of removing the line of registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); just doesnt work for me (i see it in wireshark when the client sends no session id) even though it has one.
Is there a better example of using SSLSessionCache / SSLCertificateSocketFactory on android? thanks