Diff

net/resolvers/basic.lua @ 11421:926d53af9a7a

net.resolvers.basic: Disable DANE for now, completely broken Turns out 'extra' is, at least for mod_s2s, the same table for *all* connections.
author Kim Alvefur <zash@zash.se>
date Wed, 03 Mar 2021 20:48:54 +0100
parent 11420:f768db80aee0
child 11430:56a282ecdcf1
line wrap: on
line diff
--- a/net/resolvers/basic.lua	Wed Mar 03 18:42:54 2021 +0100
+++ b/net/resolvers/basic.lua	Wed Mar 03 20:48:54 2021 +0100
@@ -36,15 +36,14 @@
 		n = n - 1;
 		if n > 0 then return; end
 		self.targets = targets;
+		--[[
+		-- TODO stash tlsa somewhere per connection
+		-- FIXME 'extra' here is not per connection
 		if self.extra and self.extra.use_dane then
 			if secure and tlsa[1] then
-				self.extra.tlsa = tlsa;
-				self.extra.dane_hostname = self.hostname;
-			else
-				self.extra.tlsa = nil;
-				self.extra.dane_hostname = nil;
 			end
 		end
+		--]]
 		self:next(cb);
 	end