summaryrefslogtreecommitdiff
path: root/src/stat_cache.c
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-09-07 12:28:48 +0000
committerJan Kneschke <jan@kneschke.de>2006-09-07 12:28:48 +0000
commit7d4d819599ae80dea19d8bf6396a3e1fa5cdee0f (patch)
tree26b177b8e58ba0c204c60e4137dfbfaeb3663274 /src/stat_cache.c
parent08994e478aee895458931590c0236e5696640972 (diff)
downloadlighttpd1.4-7d4d819599ae80dea19d8bf6396a3e1fa5cdee0f.tar.gz
lighttpd1.4-7d4d819599ae80dea19d8bf6396a3e1fa5cdee0f.zip
merged [1055], [1056], [1068], [1172], [1176]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1286 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/stat_cache.c')
-rw-r--r--src/stat_cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat_cache.c b/src/stat_cache.c
index 4100d0b5..a790e816 100644
--- a/src/stat_cache.c
+++ b/src/stat_cache.c
@@ -595,6 +595,8 @@ handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_
stat_cache_attr_get(sce->content_type, name->ptr);
}
#endif
+ } else if (S_ISDIR(st.st_mode)) {
+ etag_create(sce->etag, &(sce->st));
}
#ifdef HAVE_FAM_H