# HG changeset patch # User Kim Alvefur # Date 1573170896 -3600 # Node ID 4c2d789a106b102daf1499b3ff90e48b9dbaf7aa # Parent 82705ec87253d9e3c1b4c9ea1b0130e0e43d2a85 net.resolvers: Fix traceback from hostname failing IDNA Related to #1426 diff -r 82705ec87253 -r 4c2d789a106b net/resolvers/basic.lua --- a/net/resolvers/basic.lua Mon Nov 04 00:29:49 2019 +0100 +++ b/net/resolvers/basic.lua Fri Nov 08 00:54:56 2019 +0100 @@ -21,6 +21,7 @@ if not self.hostname then -- FIXME report IDNA error cb(nil); + return; end local targets = {}; diff -r 82705ec87253 -r 4c2d789a106b net/resolvers/service.lua --- a/net/resolvers/service.lua Mon Nov 04 00:29:49 2019 +0100 +++ b/net/resolvers/service.lua Fri Nov 08 00:54:56 2019 +0100 @@ -28,6 +28,7 @@ if not self.hostname then -- FIXME report IDNA error cb(nil); + return; end local targets = {};