Nikhil Marathe
4fad035dad
Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer
...
For non-e10s Service Worker, we use Cache entries to achieve interception.
While this is a temporary measure, the fact that cache enforces size limits on
cache entries (which make sense for the purpose it was designed) prevents large
files from being served via a Service Worker. This patch adds a skip size check
flag to CacheStorage that is relayed to CacheEntry and CacheFile. It is set to
false by default leading to normal cache behaviour.
The patch also adds nsICacheStorageService.synthesizedCacheStorage() that
retrieves a cache storage with this flag set to true, which is used by
nsHttpChannel in case of possible interception.
2015-09-03 16:05:42 -07:00
Michal Novotny
a290271052
Bug 1177278 - Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab
2015-07-22 15:23:16 +02:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jeff Muizelaar
09ddc12142
Bug 1114999 - Part 3: Use automatic memory management for mObjsToRelease; r=novotny
2015-01-15 18:19:26 -05:00
Michal Novotny
357ecb53d6
Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman
2014-08-18 15:36:27 +02:00
Michal Novotny
805d7068eb
Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab
2014-07-10 07:59:29 +02:00
Michal Novotny
c8c8260630
Bug 1013638 - CacheFileIn(Out)putStream::AsyncWait() doesn't respect eventTarget argument, r=honzab
2014-06-12 18:04:41 +02:00
Michal Novotny
005cc67a1f
Bug 1007071 - Check cache entry size in CacheFileOutputStream::Write(), r=honzab
2014-05-19 14:21:18 +02:00
Michal Novotny
923ff3c27e
Bug 913819 - HTTP cache v2: preload several chunks in advance in input stream to speed up reading, r=honzab
2014-05-02 20:15:14 +02:00
Michal Novotny
8a82e0e11a
Bug 913812 - HTTP cache v2: properly propagate errors through the cache file code, r=honzab
2014-04-22 13:23:17 +02:00
Ehsan Akhgari
7ce1aa5eb8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Kyle Huey
ea94e7d568
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Honza Bambas
3d5cd4451d
Bug 964039 - Memory used by the new cache backend is not reported, r=michal
2014-02-27 00:11:40 +01:00
Ed Morley
599ee2ead7
Backed out changeset 240333c3d2c1 (bug 964039)
2014-03-05 17:24:55 +00:00
Honza Bambas
3070b230c5
Bug 964039 - Memory used by the new cache backend is not reported, r=michal
2014-02-27 00:11:40 +01:00
Honza Bambas
4e726f9815
Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal
2013-11-20 23:20:17 +01:00
Honza Bambas
9728122573
Bug 924938 - Correctly include CacheLog.h as the first file in a module to force logging in opt builds, r=michal
2013-10-15 20:08:26 +02:00
Michal Novotny
21c49d0398
Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab
2013-09-20 11:11:26 +02:00