Changeset 17878 in webkit


Ignore:
Timestamp:
Nov 22, 2006 2:02:22 PM (17 years ago)
Author:
spadma
Message:

2006-11-21 sareen <shyam.sareen@nokia.com>

Reviewed by sachin.padma@nokia.com
Desc: [S60]Cache not cleared when it gets filled. Cache Handler is not assigned in case of
expired entries.
http://bugzilla.opendarwin.org/show_bug.cgi?id=11663

  • ResourceLoader/CacheSrc/HttpCacheManager.cpp: (CHttpCacheManager::RequestL):
Location:
S60/branches/3.1m/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/branches/3.1m/WebKit/ChangeLog

    r17873 r17878  
     12006-11-21  sareen  <shyam.sareen@nokia.com>
     2        Reviewed by sachin.padma@nokia.com
     3        Desc: [S60]Cache not cleared when it gets filled. Cache Handler is not assigned in case of
     4        expired entries.
     5        http://bugzilla.opendarwin.org/show_bug.cgi?id=11663
     6
     7        * ResourceLoader/CacheSrc/HttpCacheManager.cpp:
     8        (CHttpCacheManager::RequestL):
     9
     10
    1112006-11-21  spadma  <Sachin.Padma@nokia.com>
    212
  • S60/branches/3.1m/WebKit/ResourceLoader/CacheSrc/HttpCacheManager.cpp

    r16037 r17878  
    231231                {
    232232                status = iphoneSpecificCache->RequestL( aTrans, aCacheMode, aCacheEntry );
     233                 if( (status  == KErrNotReady) || (status == KErrNone ) )
     234                 {
     235                 aCacheEntry.iCacheHandler = iphoneSpecificCache;
     236                 }
     237                 else
     238                 {
     239                 // No entry found in any cache. Default to normal cache
     240                 aCacheEntry.iCacheHandler = cache;   
    233241                }
    234             if( status == KErrNotFound )
     242                }
     243            else
    235244                {
    236                 //If not in VSS cache then  default to above cache handler.
    237245                aCacheEntry.iCacheHandler = cache;
    238246                }
Note: See TracChangeset for help on using the changeset viewer.