summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-11-08 04:06:08 +0100
committerStefan Fritsch <sf@apache.org>2011-11-08 04:06:08 +0100
commitccc76d4e43aff64df243280f8526dc7de230a4ae (patch)
treed72af93a6b6c171c414dbc4649c6d74918eea973 /include
parentPoint to list of undocumented modules in the docs subdirectory (diff)
downloadapache2-ccc76d4e43aff64df243280f8526dc7de230a4ae.tar.xz
apache2-ccc76d4e43aff64df243280f8526dc7de230a4ae.zip
Change default FileETag to be "size mtime", i.e. remove the inode. Adjust the
etag generation in mod_dav_fs to the new default. PR 49623. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199086 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/http_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/http_core.h b/include/http_core.h
index fa214af976..a6be6fb883 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -461,8 +461,9 @@ typedef unsigned long etag_components_t;
#define ETAG_MTIME (1 << 1)
#define ETAG_INODE (1 << 2)
#define ETAG_SIZE (1 << 3)
-#define ETAG_BACKWARD (ETAG_MTIME | ETAG_INODE | ETAG_SIZE)
#define ETAG_ALL (ETAG_MTIME | ETAG_INODE | ETAG_SIZE)
+/* This is the default value used */
+#define ETAG_BACKWARD (ETAG_MTIME | ETAG_SIZE)
/**
* @brief Server Signature Enumeration