Do not open default server socket 83/267283/1 submit/tizen_6.5/20211201.035549
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:48:44 +0000 (12:48 +0900)
Vine uses own vhosts afterwards using lws_create_vhost().

Change-Id: Iae4687b0cd50823252dcd2366c0c0df50134551f

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

index e5d1edf904f2f5d8b27b3152e429e1026fbdcf69..258452e2c5f5cb39673dcbc7fa2d152eb0db7a76 100755 (executable)
@@ -3,7 +3,7 @@
 %bcond_without use_glib_event_loop
 Name:    capi-network-vine
 Summary: An service discovery framework
-Version: 1.1.11
+Version: 1.1.12
 Release: 0
 Group:   Network & Connectivity/API
 License: Apache-2.0
index 061f539d529af36d72bddb8dd16d669bdb16f00c..7dfdcf947dd9c0220a402786c85a667554ff1bcf 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);
 }