Lines Matching defs:vhost
29 lws_ssl_destroy(struct lws_vhost *vhost)
31 if (!lws_check_opt(vhost->context->options,
35 if (vhost->tls.ssl_ctx)
36 SSL_CTX_free(vhost->tls.ssl_ctx);
37 if (!vhost->tls.user_supplied_ssl_ctx && vhost->tls.ssl_client_ctx)
38 SSL_CTX_free(vhost->tls.ssl_client_ctx);
40 if (vhost->tls.x509_client_CA)
41 X509_free(vhost->tls.x509_client_CA);
105 if (wsi->a.vhost)
106 lws_metric_event(wsi->a.vhost->mt_traffic_rx, METRES_NOGO, 0);
122 if (wsi->a.vhost)
123 lws_metric_event(wsi->a.vhost->mt_traffic_rx,
183 if (wsi->a.vhost)
184 lws_metric_event(wsi->a.vhost->mt_traffic_tx,
210 if (wsi->a.vhost)
211 lws_metric_event(wsi->a.vhost->mt_traffic_tx,
236 if (!(where & wsi->a.vhost->tls.ssl_info_event_mask))
261 if (wsi->a.vhost->tls.ssl_info_event_mask)
287 lws_ssl_SSL_CTX_destroy(struct lws_vhost *vhost)
289 if (vhost->tls.ssl_ctx)
290 SSL_CTX_free(vhost->tls.ssl_ctx);
292 if (!vhost->tls.user_supplied_ssl_ctx && vhost->tls.ssl_client_ctx)
293 SSL_CTX_free(vhost->tls.ssl_client_ctx);
295 lws_tls_acme_sni_cert_destroy(vhost);