1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-26 19:57:22 +08:00

some fix + xxhash

This commit is contained in:
stefanocasazza
2016-06-08 16:10:01 +02:00
parent 266490fa5d
commit bcdc99a8ac
73 changed files with 2819 additions and 1045 deletions

View File

@@ -960,17 +960,7 @@ public:
U_RETURN(false);
}
static void checkFileForCache()
{
U_TRACE_NO_PARAM(0, "UHTTP::checkFileForCache()")
U_INTERNAL_ASSERT_POINTER(pathname)
file->setPath(*pathname);
if (file->stat()) manageDataForCache(); // NB: file->stat() get also the size of the file...
}
static void checkFileForCache();
static void renewFileDataInCache();
static void checkFileInCache(const char* path, uint32_t len);