Lines Matching refs:session_ctx
415 if (s->session_ctx->session_timeout == 0)
418 ss->timeout = s->session_ctx->session_timeout;
480 else if (s->session_ctx->generate_session_id)
481 cb = s->session_ctx->generate_session_id;
605 !(s->session_ctx->session_cache_mode &
614 ret = lh_SSL_SESSION_retrieve(s->session_ctx->sessions, &data);
621 s->session_ctx->stats.sess_miss++;
625 ret == NULL && s->session_ctx->get_session_cb != NULL) {
628 if ((ret = s->session_ctx->get_session_cb(s, session_id, len, ©))) {
629 s->session_ctx->stats.sess_cb_hit++;
646 (s->session_ctx->session_cache_mode &
652 SSL_CTX_add_session(s->session_ctx, ret);
703 s->session_ctx->stats.sess_timeout++;
706 SSL_CTX_remove_session(s->session_ctx, ret);
711 s->session_ctx->stats.sess_hit++;