Changeset

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
parents 11429:ef623d719894
children 11431:4874b54af344
files net/resolvers/basic.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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