Lines Matching refs:tls

326     rt->tls = nxt_service_get(rt->services, "SSL/TLS", "OpenSSL");  in nxt_router_start()
327 if (nxt_slow_path(rt->tls == NULL)) { in nxt_router_start()
331 ret = rt->tls->library_init(task); in nxt_router_start()
1100 nxt_queue_init(&tmcf->tls); in nxt_router_temp_conf()
1151 nxt_router_tlssock_t *tls; in nxt_router_conf_apply() local
1170 qlk = nxt_queue_last(&tmcf->tls); in nxt_router_conf_apply()
1172 if (qlk != nxt_queue_head(&tmcf->tls)) { in nxt_router_conf_apply()
1175 tls = nxt_queue_link_data(qlk, nxt_router_tlssock_t, link); in nxt_router_conf_apply()
1177 nxt_cert_store_get(task, &tls->name, tmcf->mem_pool, in nxt_router_conf_apply()
1178 nxt_router_tls_rpc_handler, tls); in nxt_router_conf_apply()
2084 nxt_router_tlssock_t *tls; in nxt_router_conf_tls_insert() local
2086 tls = nxt_mp_get(tmcf->mem_pool, sizeof(nxt_router_tlssock_t)); in nxt_router_conf_tls_insert()
2087 if (nxt_slow_path(tls == NULL)) { in nxt_router_conf_tls_insert()
2091 tls->tls_init = tls_init; in nxt_router_conf_tls_insert()
2092 tls->socket_conf = skcf; in nxt_router_conf_tls_insert()
2093 tls->temp_conf = tmcf; in nxt_router_conf_tls_insert()
2094 tls->last = last; in nxt_router_conf_tls_insert()
2095 nxt_conf_get_string(value, &tls->name); in nxt_router_conf_tls_insert()
2097 nxt_queue_insert_tail(&tmcf->tls, &tls->link); in nxt_router_conf_tls_insert()
2792 nxt_router_tlssock_t *tls; in nxt_router_tls_rpc_handler() local
2798 tls = data; in nxt_router_tls_rpc_handler()
2799 tmcf = tls->temp_conf; in nxt_router_tls_rpc_handler()
2807 if (tls->socket_conf->tls == NULL){ in nxt_router_tls_rpc_handler()
2814 tls->socket_conf->tls = tlscf; in nxt_router_tls_rpc_handler()
2817 tlscf = tls->socket_conf->tls; in nxt_router_tls_rpc_handler()
2820 tls->tls_init->conf = tlscf; in nxt_router_tls_rpc_handler()
2827 if (nxt_slow_path(nxt_str_dup(mp, &bundle->name, &tls->name) == NULL)) { in nxt_router_tls_rpc_handler()
2835 ret = task->thread->runtime->tls->server_init(task, mp, tls->tls_init, in nxt_router_tls_rpc_handler()
2836 tls->last); in nxt_router_tls_rpc_handler()
3783 if (skcf != NULL && skcf->tls != NULL) { in nxt_router_conf_release()
3784 task->thread->runtime->tls->server_free(task, skcf->tls); in nxt_router_conf_release()
5272 req->tls = r->tls; in nxt_router_prepare_msg()