in reply to Re^2: IO::Socket::SSL Server-side Session caching
in thread IO::Socket::SSL Server-side Session caching

How can I get the session ID from the $CLIENT socket?

I think you would have to patch Net::SSLeay.

If I enable the session caching, do I renegotiate each time new connection arrives?

Yes, but its shorter negotiation. See SSL.

If the session id is different every time, how can I understand that the caching is working? Wireshark? or debug?

Not sure. A simple way would be to benchmark (with cache should be faster).

  • Comment on Re^3: IO::Socket::SSL Server-side Session caching