From: Seonah Moon Date: Wed, 1 Dec 2021 03:46:10 +0000 (+0900) Subject: Do not open default server socket X-Git-Tag: submit/tizen/20211201.045926~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F82%2F267282%2F2;p=platform%2Fcore%2Fapi%2Fvine.git Do not open default server socket Vine uses own vhosts afterwards using lws_create_vhost(). Change-Id: Idd5ac85b5871166a4d36277d2ef4d2eee6363bcd --- diff --git a/packaging/capi-network-vine.spec b/packaging/capi-network-vine.spec index 8099c81..3ece73e 100755 --- a/packaging/capi-network-vine.spec +++ b/packaging/capi-network-vine.spec @@ -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 diff --git a/plugins/libwebsockets/libwebsockets-plugin.cpp b/plugins/libwebsockets/libwebsockets-plugin.cpp index 061f539..7dfdcf9 100755 --- a/plugins/libwebsockets/libwebsockets-plugin.cpp +++ b/plugins/libwebsockets/libwebsockets-plugin.cpp @@ -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); }