in reply to SSL session caching with LWP and Crypt::SSLeay
Bottom Line: SSL Session resumption should be possible using Perl but isn't!
Using the C OpenSSL library you would typically:
Crypt::SSLeay doesn't implement the SSL_get/set_session function so session resumption is not possible.
Net::SSLeay implements both functions. However Net::SSLeay doesn't implement SSL_shutdown and relies on the socket-level shutdown routine. This leads to a 'premature close' on the link. The standards forbid resuming a session which was closed prematurely (although I've heard some implementations allow it).
If you find a way please let me know.
|
|---|