diff --git a/lib/core-net/vhost.c b/lib/core-net/vhost.c index c00548f9a..42be7bb91 100644 --- a/lib/core-net/vhost.c +++ b/lib/core-net/vhost.c @@ -910,8 +910,8 @@ lws_create_vhost(struct lws_context *context, }; #if defined(LWS_WITH_SYS_ASYNC_DNS) - if (!n && lws_async_dns_init(context)) - goto bail1; + if (!n) + lws_async_dns_init(context); #endif /* for the case we are adding a vhost much later, after server init */ diff --git a/lib/core/context.c b/lib/core/context.c index a2f62fb26..a29dbdd12 100644 --- a/lib/core/context.c +++ b/lib/core/context.c @@ -1178,8 +1178,8 @@ lws_create_context(const struct lws_context_creation_info *info) goto bail_libuv_aware; } #if defined(LWS_WITH_SYS_ASYNC_DNS) - if (lws_async_dns_init(context)) - goto bail_libuv_aware; + lws_async_dns_init(context); + //goto bail_libuv_aware; #endif }