Lines Matching defs:vhost
108 struct lws_vhost *vhost)
114 lws_fakewsi_def_plwsa(&vhost->context->pt[0]);
116 lws_fakewsi_prep_plwsa_ctx(vhost->context);
118 if (vhost->options & LWS_SERVER_OPTION_ADOPT_APPLY_LISTEN_ACCEPT_CONFIG)
121 if (vhost->tls.ssl_ctx) {
144 if (vhost->tls.ssl_client_ctx)
150 vhost->tls.ssl_client_ctx = info->provided_client_ssl_ctx;
152 vhost->tls.user_supplied_ssl_ctx = 1;
158 if (lws_tls_client_create_vhost_context(vhost, info, cipher_list,
171 lwsl_info("created client ssl context for %s\n", vhost->name);
178 plwsa->vhost = vhost; /* not a real bound wsi */
180 vhost->protocols[0].callback((struct lws *)plwsa,
182 vhost->tls.ssl_client_ctx, NULL, 0);