Lines Matching refs:sess
206 lws_tls_session_new_cb(SSL *ssl, SSL_SESSION *sess) in lws_tls_session_new_cb() argument
233 ttl = SSL_SESSION_get_timeout(sess); in lws_tls_session_new_cb()
272 ts->session = sess; in lws_tls_session_new_cb()
278 sess, wsi->lc.gutag, disposition, tag, ttl, vh->name, in lws_tls_session_new_cb()
315 SSL_SESSION *sess; in lws_sess_cache_synth_cb() local
320 sess = SSL_get1_session(tls->ssl); in lws_sess_cache_synth_cb()
321 if (!sess) in lws_sess_cache_synth_cb()
324 if (!SSL_SESSION_is_resumable(sess) || /* not worth caching, or... */ in lws_sess_cache_synth_cb()
325 !lws_tls_session_new_cb(tls->ssl, sess)) { /* ...cb didn't keep it */ in lws_sess_cache_synth_cb()
331 SSL_SESSION_free(sess); in lws_sess_cache_synth_cb()
419 SSL_SESSION *sess = NULL; /* allow it to "bail" early */ in lws_tls_session_dump_load() local
453 sess = d2i_SSL_SESSION(NULL, (const uint8_t **)&d.blob, in lws_tls_session_dump_load()
456 if (!sess) { in lws_tls_session_dump_load()
470 ts->session = sess; in lws_tls_session_dump_load()
479 SSL_SESSION_free(sess); in lws_tls_session_dump_load()