[Webkit-unassigned] [Bug 136855] New: [Curl] Sometimes incomplete or empty content can be loaded from cache.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 16 05:43:13 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136855
Summary: [Curl] Sometimes incomplete or empty content can be
loaded from cache.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: peavo at outlook.com
Sometimes, when two requests with the same url are started at the same time, there is a possibility of loading incomplete or empty content from the cache. The first request will create the new cache entry, and start loading the content into the cache. The second request will assume the content is cached, and start loading from the cache. But if the first request is not finished yet, empty or imcomplete content will be loaded.
This happens because the method CurlCacheEntry::isLoading() is returning the wrong status in the time period between the headers are received, and the content data is received.
--
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