Diff

net/resolvers/basic.lua @ 11430:56a282ecdcf1

net.resolvers.basic: Fix completion condition when IPv6 is disabled Fixes mistake introduced in 5a71f14ab77c that made it so this ready() newer got called and thus it would be stuck waiting for it. Looks like the kind of thing that could have been introduced by a merge or rebase. Thanks MattJ
author Kim Alvefur <zash@zash.se>
date Mon, 15 Mar 2021 23:09:42 +0100
parent 11421:926d53af9a7a
child 11708:5ef729c355f3
line wrap: on
line diff
--- a/net/resolvers/basic.lua	Mon Mar 15 19:04:08 2021 +0100
+++ b/net/resolvers/basic.lua	Mon Mar 15 23:09:42 2021 +0100
@@ -74,6 +74,8 @@
 			end
 			ready();
 		end, self.hostname, "AAAA", "IN");
+	else
+		ready();
 	end
 
 	if self.extra and self.extra.use_dane == true then