mod_s2s_auth_dane/mod_s2s_auth_dane.lua
changeset 2873 77498ea07795
parent 2201 90a444ccaa8e
child 4494 cf2bdb2aaa57
equal deleted inserted replaced
2872:f90cf59bee8e 2873:77498ea07795
   239 		end
   239 		end
   240 		if host_session.dane ~= nil then
   240 		if host_session.dane ~= nil then
   241 			return; -- Already done DANE lookup
   241 			return; -- Already done DANE lookup
   242 		end
   242 		end
   243 		dane_lookup(host_session, resume);
   243 		dane_lookup(host_session, resume);
   244 		-- Let it run in parallell until we need to check the cert
   244 		-- Let it run in parallel until we need to check the cert
   245 	end
   245 	end
   246 
   246 
   247 	-- New outgoing connections
   247 	-- New outgoing connections
   248 	module:hook("stanza/http://etherx.jabber.org/streams:features", on_new_s2s, 501);
   248 	module:hook("stanza/http://etherx.jabber.org/streams:features", on_new_s2s, 501);
   249 	module:hook("s2sout-authenticate-legacy", on_new_s2s, 200);
   249 	module:hook("s2sout-authenticate-legacy", on_new_s2s, 200);