bzbarsky%mit.edu
e83916216b
Make sure to not use the same disk cache data block for different URIs. Bug
...
347852, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216216 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:41:30 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
darin%netscape.com
2b1d90b6ed
modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
...
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
alecf%netscape.com
618d9ec8d7
fix for bug 108684 - cache objects not included in bloat logs
...
r=gordon, sr=darin
git-svn-id: svn://10.0.0.236/trunk@107479 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:51:58 +00:00
gordon%netscape.com
473ba08356
Land DISKCACHE1_BRANCH, implementing first draft of cache map file for more efficient eviction and cache miss detection. Fixed some problems with overeager setting of lastModified time stamp. Read cache enable prefs on startup. r=beard, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@90752 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:54:58 +00:00
gordon%netscape.com
7b8581452d
Landing MOZ_NEW_CACHE_20010314_BRANCH, incorporating feedback from recent test builds. New cache is still disabled by default.
...
git-svn-id: svn://10.0.0.236/trunk@89933 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 22:42:03 +00:00
beard%netscape.com
d7e78b06d3
[not part of build] Use forward references whenever possible.
...
git-svn-id: svn://10.0.0.236/trunk@89445 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 04:53:46 +00:00
beard%netscape.com
1c5610f321
[not part of build] Implemented nsCacheEntryDescriptor::GetFile().
...
git-svn-id: svn://10.0.0.236/trunk@88984 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 21:22:18 +00:00
beard%netscape.com
b5ecde3753
[not part of build] stub implementation of Visit().
...
Changed Cache directory creation logic in nsDiskCacheDevice.cpp.
git-svn-id: svn://10.0.0.236/trunk@88983 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 21:00:02 +00:00
gordon%netscape.com
95787ca5fb
[not part of build]
...
Removed return codes for nsCacheEntryHashtable::RemoveEntry() and nsCacheDevice::DoomEntry().
Added doomEntriesIfExpired flag to nsCacheSession and nsCacheRequest, and check the flag in nsCacheService::ActivateEntry()
Added lastModified attribute to nsCacheEntryDescriptor and mLastModified data member to nsCacheEntry. mLastModified is updated when data or meta data is changed.
Deque requests if descriptor allocation fails. Delete requests after calling proxy in async open cache entry path.
Cleaned up the logic of doom.
git-svn-id: svn://10.0.0.236/trunk@88929 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:37:00 +00:00
gordon%netscape.com
3631c00985
[not part of build] Changed nsCacheEntry data members from PRTime to PRUint32. Changed //** comments to // XXX to make it easier to search for 'to do' items. Added dooming of expired entries.
...
git-svn-id: svn://10.0.0.236/trunk@88499 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 00:11:30 +00:00
gordon%netscape.com
9bbc213f93
[not part of build]
...
Changed OnDataSizeChanged() to OnDataSizeChange() and added a deltaSize parameter. Added OnDataSizeChange() method on nsCacheService so we can grab the service lock and bind the entry if necessary.
Commented out the implementation of nsCacheEntryDescriptor::AsyncWrite(), since we are not planning to provide it.
git-svn-id: svn://10.0.0.236/trunk@88275 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:01:43 +00:00
beard%netscape.com
ff1dfa18a0
[not part of build] enforce nsCacheAccessMode when creating transports.
...
git-svn-id: svn://10.0.0.236/trunk@88183 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 10:04:27 +00:00
gordon%netscape.com
4fe759cae0
Added DoomEntry() to nsCacheDevice.
...
git-svn-id: svn://10.0.0.236/trunk@88162 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:42:33 +00:00
gordon%netscape.com
cee3eac4fa
Add virtual methods for desctructor and Init(). Changed ActivateEntryIfFound() to FindEntry().
...
git-svn-id: svn://10.0.0.236/trunk@88062 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:33:34 +00:00
dougt%netscape.com
4c288c490c
NOT PART OF BUILD. Updating new cache windows makefile to produce a dll. Removing the empty virtual destructor in nsCacheDevice.h
...
git-svn-id: svn://10.0.0.236/trunk@88031 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:51:03 +00:00
gordon%netscape.com
c1cbcd4c4c
Updated new cache source to build with recent changes to interface files. These files are not part of the build. r=beard, darin.
...
git-svn-id: svn://10.0.0.236/trunk@87862 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 01:02:37 +00:00
gordon%netscape.com
cfbd099fb3
Rough first cut of cache service and memory object cache. It currently builds on linux.
...
git-svn-id: svn://10.0.0.236/trunk@87809 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 13:18:01 +00:00