mod_http_file_share: Put 'expires' back, thought it was unused
Removed in 536055476912 because it was not used anywhere else in the
file, but per the documentation it is meant to inform external upload
services of the expiry time of the upload itself.
--- a/plugins/mod_http_file_share.lua Fri Jun 30 22:01:55 2023 +0200
+++ b/plugins/mod_http_file_share.lua Sun Jul 02 14:31:00 2023 +0200
@@ -182,6 +182,7 @@
-- slot properties
slot = slot;
+ expires = expiry >= 0 and (os.time()+expiry) or nil;
-- file properties
filename = filename;
filesize = filesize;