Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[WK2] Disable network cache speculative validation by default
https://bugs.webkit.org/show_bug.cgi?id=155857
<rdar://problem/25233210>

Reviewed by Alex Christensen.

Disable network cache speculative validation by default. Clients such
as Safari now use the API added in r198544 to enable if they want.

* UIProcess/API/APIProcessPoolConfiguration.h:

Canonical link: https://commits.webkit.org/173959@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
cdumez committed Mar 24, 2016
1 parent 0c1ba33 commit ea24bb6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions Source/WebKit2/ChangeLog
@@ -1,3 +1,16 @@
2016-03-24 Chris Dumez <cdumez@apple.com>

[WK2] Disable network cache speculative validation by default
https://bugs.webkit.org/show_bug.cgi?id=155857
<rdar://problem/25233210>

Reviewed by Alex Christensen.

Disable network cache speculative validation by default. Clients such
as Safari now use the API added in r198544 to enable if they want.

* UIProcess/API/APIProcessPoolConfiguration.h:

2016-03-24 Alex Christensen <achristensen@webkit.org>

Fix null dereferencing in NetworkLoad::continueCanAuthenticateAgainstProtectionSpace
Expand Down
3 changes: 1 addition & 2 deletions Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.h
Expand Up @@ -96,8 +96,7 @@ class ProcessPoolConfiguration final : public ObjectImpl<Object::Type::ProcessPo
bool m_shouldHaveLegacyDataStore { false };

unsigned m_maximumProcessCount { 0 };
// FIXME: This should be disabled by default once Safari has been updated to explicitly enable it.
bool m_diskCacheSpeculativeValidationEnabled { true };
bool m_diskCacheSpeculativeValidationEnabled { false };
WebKit::CacheModel m_cacheModel { WebKit::CacheModelPrimaryWebBrowser };
int64_t m_diskCacheSizeOverride { -1 };

Expand Down

0 comments on commit ea24bb6

Please sign in to comment.