tls: fix session pool realloc on accept
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I68ada775810bb4a4f280962a979605b211562a52
This commit is contained in:

committed by
Damjan Marion

parent
788676b211
commit
e0c0280d9b
@ -534,6 +534,9 @@ openssl_ctx_read_tls (tls_ctx_t *ctx, session_t *tls_session)
|
||||
{
|
||||
if (openssl_ctx_handshake_rx (ctx, tls_session) < 0)
|
||||
return 0;
|
||||
|
||||
/* Application might force a session pool realloc on accept */
|
||||
tls_session = session_get_from_handle (ctx->tls_session_handle);
|
||||
}
|
||||
|
||||
app_session = session_get_from_handle (ctx->app_session_handle);
|
||||
|
Reference in New Issue
Block a user