Do not open default server socket 82/267282/2
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 1 Dec 2021 03:46:10 +0000 (12:46 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 1 Dec 2021 03:47:57 +0000 (12:47 +0900)
Vine uses own vhosts afterwards using lws_create_vhost().

Change-Id: Idd5ac85b5871166a4d36277d2ef4d2eee6363bcd

packaging/capi-network-vine.spec
plugins/libwebsockets/libwebsockets-plugin.cpp

index 8099c81..3ece73e 100755 (executable)
@@ -3,7 +3,7 @@
 %bcond_without use_glib_event_loop
 Name:    capi-network-vine
 Summary: An service discovery framework
-Version: 1.2.0
+Version: 1.2.1
 Release: 0
 Group:   Network & Connectivity/API
 License: Apache-2.0
index 061f539..7dfdcf9 100755 (executable)
@@ -471,7 +471,8 @@ static struct lws_context *_create_context(void)
        info.register_notifier_list = NULL;
 #endif
        info.options = LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
-               LWS_SERVER_OPTION_HTTP_HEADERS_SECURITY_BEST_PRACTICES_ENFORCE;
+               LWS_SERVER_OPTION_HTTP_HEADERS_SECURITY_BEST_PRACTICES_ENFORCE |
+               LWS_SERVER_OPTION_EXPLICIT_VHOSTS;
 
        return lws_create_context(&info);
 }