#3880: NetSSL_OpenSSL: Support session resumption with TLSv1.3

This commit is contained in:
Günter Obiltschnig
2023-06-06 13:06:02 +02:00
parent a9ad113742
commit 8f764e3505
7 changed files with 58 additions and 25 deletions

View File

@@ -280,6 +280,9 @@ protected:
/// Note that simply closing a socket is not sufficient
/// to be able to re-use it again.
static int onSessionCreated(SSL* pSSL, SSL_SESSION* pSession);
/// Callback to handle new session data sent by server.
private:
SecureSocketImpl(const SecureSocketImpl&);
SecureSocketImpl& operator = (const SecureSocketImpl&);
@@ -293,6 +296,7 @@ private:
bool _bidirectShutdown = true;
friend class SecureStreamSocketImpl;
friend class Context;
};