Changeset

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 1391:b183e78aee91
children 1393:4baaa5a66a5a
files mod_s2s_auth_dane/mod_s2s_auth_dane.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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