[Webkit-unassigned] [Bug 137489] New: [SOUP] NetworkProcess initialization clears cache contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 7 09:59:43 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=137489

           Summary: [SOUP] NetworkProcess initialization clears cache
                    contents
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: svillar at igalia.com
                CC: cgarcia at igalia.com


The method NetworkProcess::platformInitializeNetworkProcess() creates the SoupCache object and performs the soup_cache_load() to load the index in memory. Loading the index has some side effects like deleting as much resources as needed to get the cache size under the max_size restriction. The problem is that unless soup_cache_set_max_size() is called before soup_cache_load(), the later will use the default cache max size (50Mb IIRC). 

Should you have a different max_size, it won't matter because the cache was already loaded and the resources exceeding the capacity already wiped.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list