Lines Matching defs:session
30 SSL_SESSION *session;
50 SSL_SESSION_free(ts->session);
73 * If possible, reuse an existing, cached session
94 lwsl_tlssess("%s: no existing session for %s\n", __func__, tag);
100 if (!SSL_set_session(wsi->tls.ssl, ts->session)) {
101 lwsl_err("%s: session not set for %s\n", __func__, tag);
106 /* extend session lifetime */
107 SSL_SESSION_set_time(ts->session,
116 /* keep our session list sorted in lru -> mru order */
182 * We have reached the vhost's session cache limit,
189 lwsl_tlssess("%s: pruning oldest session\n", __func__);
266 * Give up our refcount on the session we are about to replace
269 SSL_SESSION_free(ts->session);
271 /* keep our session list sorted in lru -> mru order */
277 ts->session = sess;
303 * On openssl, there is an async cb coming when the server issues the session
332 * For now the policy if no session message after the wait,
333 * is just let it be. Typically the session info is sent
387 /* We have a ref on the session, exit via bail to clean it... */
389 bl = i2d_SSL_SESSION(ts->session, NULL);
399 i2d_SSL_SESSION(ts->session, (uint8_t **)&d.blob);
441 * not replace any existing session since it is likely newer
443 lwsl_notice("%s: session already exists for %s\n", __func__,
475 ts->session = sess;
476 lwsl_tlssess("%s: session loaded OK\n", __func__);