gecko-dev/netwerk/cache2
Michal Novotny ee8f43208a Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab
When writing to alt-data output stream fails for whatever reason, we now try to
truncate alternative data and keep the original data instead of dooming the
whole entry. The patch also changes how is the predicted size passed to the
cache. Instead of a dedicated method it's now an argument of openOutputStream
and openAlternativeOutputStream methods which fail in case the entry would
exceed the allowed limit.
2018-04-25 07:01:00 +03:00
..
AppCacheStorage.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
AppCacheStorage.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
CacheEntry.cpp Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
CacheEntry.h Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
CacheFile.cpp Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
CacheFile.h Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
CacheFileChunk.cpp Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
CacheFileChunk.h Bug 1444490 Declare classses (and one method) in network/ final to reduce virtual function calls r=nwgh 2018-03-09 08:37:18 -06:00
CacheFileContextEvictor.cpp Bug 685236 - Stop using GetNativePath in netwerk/. r=mayhemer 2017-12-15 20:21:19 +09:00
CacheFileContextEvictor.h Bug 1412320 - CacheIndex::~CacheIndex is called outside CacheIndex::sLock. r=honzab 2018-01-18 07:14:00 -05:00
CacheFileIOManager.cpp Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
CacheFileIOManager.h Bug 1444490 Declare classses (and one method) in network/ final to reduce virtual function calls r=nwgh 2018-03-09 08:37:18 -06:00
CacheFileInputStream.cpp Bug 1437604 - remove NS_INTERFACE_MAP_END_THREADSAFE; r=mystor 2018-02-12 14:36:46 -05:00
CacheFileInputStream.h Bug 1377681 - Crash in mozilla::net::CacheFile::Truncate: MOZ_RELEASE_ASSERT(maxInputChunk <= newLastChunk + 1), r=jduell 2017-07-08 01:27:30 +02:00
CacheFileMetadata.cpp Bug 1418028 - UBSan: null pointer passed to memcpy in CacheFileMetadata::WriteMetadata. r=honzab 2018-01-18 07:50:00 -05:00
CacheFileMetadata.h Bug 1444490 Declare classses (and one method) in network/ final to reduce virtual function calls r=nwgh 2018-03-09 08:37:18 -06:00
CacheFileOutputStream.cpp Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
CacheFileOutputStream.h Bug 1258747 - Support for alternative data in CacheFile, r=honzab 2016-08-17 12:58:44 +02:00
CacheFileUtils.cpp Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
CacheFileUtils.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
CacheHashUtils.cpp Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r=erahm 2017-04-13 20:47:00 +02:00
CacheHashUtils.h Bug 1201042 - Update HTTP cache index format to work with OriginAttributes' suffix, r=honzab 2016-11-08 21:11:30 +01:00
CacheIOThread.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
CacheIOThread.h Bug 1444490 Declare classses (and one method) in network/ final to reduce virtual function calls r=nwgh 2018-03-09 08:37:18 -06:00
CacheIndex.cpp Bug 1444490 Declare classses (and one method) in network/ final to reduce virtual function calls r=nwgh 2018-03-09 08:37:18 -06:00
CacheIndex.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
CacheIndexContextIterator.cpp
CacheIndexContextIterator.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
CacheIndexIterator.cpp Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj 2018-03-13 14:51:33 +01:00
CacheIndexIterator.h Bug 1249304 - Optimize sorting of CacheIndex::mFrecencyArray, r=honzab 2016-10-06 11:23:52 +02:00
CacheLog.cpp
CacheLog.h
CacheObserver.cpp Bug 1430197 - Remove the HTTP cache half-live experiment, r=michal 2018-01-12 11:51:00 +02:00
CacheObserver.h Bug 1430197 - Remove the HTTP cache half-live experiment, r=michal 2018-01-12 11:51:00 +02:00
CacheStorage.cpp Bug 1360163 - Add test for altData of cache index, r=michal 2017-04-28 17:14:21 +08:00
CacheStorage.h Bug 1360163 - Add test for altData of cache index, r=michal 2017-04-28 17:14:21 +08:00
CacheStorageService.cpp Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
CacheStorageService.h Bug 1382688 - Do not allow to enable old disk cache backend, r=honzab 2017-08-24 10:25:38 +02:00
OldWrappers.cpp Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
OldWrappers.h Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
nsICacheEntry.idl Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
nsICacheEntryDoomCallback.idl
nsICacheEntryOpenCallback.idl
nsICacheStorage.idl Bug 1360163 - Add test for altData of cache index, r=michal 2017-04-28 17:14:21 +08:00
nsICacheStorageService.idl Bug 1312954 - part 2: Add a new interface nsICacheStorageService.asyncVisitAllStorages() to allow visiting every cache entry. r=mayhemer 2017-02-02 22:15:00 -05:00
nsICacheStorageVisitor.idl Bug 1312954 - Part 1: Add the nsILoadContextInfo as one additional argument of nsILoadContextInfo.onCacheEntryInfo() and CacheStorageService::EntryInfoCallback.OnEntryInfo(). r=mayhemer 2017-02-02 22:14:00 -05:00
nsICacheTesting.idl Bug 1231565 - (Part 1) Basic test for alt-data representation in cache r=honzab 2016-03-22 11:42:00 +01:00