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:
parent
38496b9184
commit
454d173aea
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue