plugins/mod_http_file_share.lua
changeset 11507 7adda14945ad
parent 11506 8fd760c04cdf
child 11568 60e31c9ece57
--- a/plugins/mod_http_file_share.lua	Mon Apr 05 17:16:18 2021 +0200
+++ b/plugins/mod_http_file_share.lua	Mon Apr 05 17:21:18 2021 +0200
@@ -142,6 +142,7 @@
 
 		-- slot properties
 		slot = slot;
+		expires = expiry >= 0 and (now+expiry) or nil;
 		-- file properties
 		filename = filename;
 		filesize = filesize;