> On Apr 29, 2019, at 11:35 AM, Jeremy Harris <jgh@xxxxxxxxxxx> wrote: > > documents SSL_CTX_sess_set_new_cb as being for "server side". You seem > to be using it client-side: > > SSL_CTX_sess_set_new_cb(client_ctx, new_client_session_cb); > > Is this valid? Postfix sessions caches on both sides of the connection. Yes, the callback is valid on both sides. -- Viktor.