[SOUP] [WK2] WebProcess and NetworkProcess initialization clears cache contents
authorsvillar@igalia.com <svillar@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Oct 2014 09:32:10 +0000 (09:32 +0000)
committersvillar@igalia.com <svillar@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Oct 2014 09:32:10 +0000 (09:32 +0000)
commit202a65a7a4a9bac99eb9da89e39af0c9d943d2ef
treed27d5f5b685d279d18508a0ba1e184343dc2b4e7
parent773953cc370c954aac53a8fc53fac305b2391aab
[SOUP] [WK2] WebProcess and NetworkProcess initialization clears cache contents
https://bugs.webkit.org/show_bug.cgi?id=137489

Reviewed by Carlos Garcia Campos.

Temporarily set the SoupCache's maximum size to a huge value
before calling soup_cache_load() so that the cache is not shrinked
to the default value.

* NetworkProcess/soup/NetworkProcessSoup.cpp:
(WebKit::NetworkProcess::platformInitializeNetworkProcess):
* WebProcess/soup/WebProcessSoup.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp
Source/WebKit2/WebProcess/soup/WebProcessSoup.cpp