1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

sys vh: set NO_LISTEN

This commit is contained in:
Andy Green 2021-01-01 07:27:19 +00:00
parent 38496b9184
commit 454d173aea

View file

@ -1196,6 +1196,7 @@ lws_create_context(const struct lws_context_creation_info *info)
memset(&ii, 0, sizeof(ii));
ii.vhost_name = "system";
ii.pprotocols = pp;
ii.port = CONTEXT_PORT_NO_LISTEN;
vh = lws_create_vhost(context, &ii);
if (!vh) {