Lines Matching refs:info
394 struct lws_context_creation_info info;
413 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
415 info.options = LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
420 info.options |= LWS_SERVER_OPTION_VHOST_UPG_STRICT_HOST_CHECK;
422 context = lws_create_context(&info);
428 info.port = 7681;
429 info.mounts = &mount;
430 info.error_document_404 = "/404.html";
431 info.server_ssl_cert_mem = cert_pem;
432 info.server_ssl_cert_mem_len = (unsigned int)strlen(cert_pem);
433 info.server_ssl_private_key_mem = key_pem;
434 info.server_ssl_private_key_mem_len = (unsigned int)strlen(key_pem);
435 info.vhost_name = "first";
437 if (!lws_create_vhost(context, &info)) {
442 info.port = 7682;
443 info.mounts = &mount;
444 info.error_document_404 = "/404.html";
445 info.server_ssl_cert_mem = cert_der;
446 info.server_ssl_cert_mem_len = (unsigned int)sizeof(cert_der);
447 info.server_ssl_private_key_mem = key_der;
448 info.server_ssl_private_key_mem_len = (unsigned int)sizeof(key_der);
449 info.vhost_name = "second";
451 if (!lws_create_vhost(context, &info)) {