Hi everybody. I have a SSL client and two SSL servers: auth server and, for example, file server. Client connects to the auth server, handshakes with it, then auth server sends socket descriptor and SSL session to the file server via IPC. File server reads socket descriptor, duplicates it, then it reads SSL session and adds it to the SSL context with 'SSL_CTX_add_session' call. According to the examples and man, server and client must do handshaking after this call, but the problem is, that client nothing knows about new SSL server and SSL session exchange. How can I add new SSL session without any new handshake?
-- Roman