diff mod_s2s_auth_dane/mod_s2s_auth_dane.lua @ 1392:d99c10fc4d19

mod_s2s_auth_dane: Clean up no longer needed DNS replies
author Kim Alvefur <zash@zash.se>
date Thu, 24 Apr 2014 18:34:10 +0200
parents b183e78aee91
children 50f986deb3f7
line wrap: on
line diff
--- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua	Thu Apr 24 18:33:13 2014 +0200
+++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua	Thu Apr 24 18:34:10 2014 +0200
@@ -137,6 +137,9 @@
 			});
 			return false;
 		end
+		-- Cleanup
+		session.dane = nil;
+		session.srv_hosts = nil;
 	end);
 end