Diff

net/resolvers/service.lua @ 10400:4c2d789a106b 0.11

net.resolvers: Fix traceback from hostname failing IDNA Related to #1426
author Kim Alvefur <zash@zash.se>
date Fri, 08 Nov 2019 00:54:56 +0100
parent 10385:62a7042e0771
child 10401:1ef1f6c43c5b
line wrap: on
line diff
--- 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 = {};