From: Fredrik Tolf Date: Tue, 20 Jan 2026 05:54:18 +0000 (+0100) Subject: sendfile: Use original times for compressed variants. X-Git-Url: http://www.dolda2000.com/gitweb/?a=commitdiff_plain;h=d748c2011c544ede9749e4d1184f5e87125ad4bc;p=ashd.git sendfile: Use original times for compressed variants. --- diff --git a/src/compress.c b/src/compress.c index f0fb688..e806fe3 100644 --- a/src/compress.c +++ b/src/compress.c @@ -275,6 +275,9 @@ int ccopen(char *path, struct stat *sb, char *accept, const char **encoding) mfd = efd; minsz = esb.st_size; msb = esb; + msb.st_atime = sb->st_atime; + msb.st_mtime = sb->st_mtime; + msb.st_ctime = sb->st_ctime; mtype = type; } }