[Webkit-unassigned] [Bug 49666] [Gtk] "CRITICAL **: msg_got_headers_cb: assertion `entry' failed" when using HTTP cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 08:54:20 PST 2010


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


Sergio Villar Senin <svillar at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74120|                            |review?
               Flag|                            |




--- Comment #1 from Sergio Villar Senin <svillar at igalia.com>  2010-11-17 08:54:20 PST ---
Created an attachment (id=74120)
 --> (https://bugs.webkit.org/attachment.cgi?id=74120&action=review)
Fix for the bug

The assumption was wrong. We were assuming that the HTTP cache was the only one generating conditional requests to the server for its cached resources.

WebKit has its own in memory resource cache. It is capable of detecting when a resource needs to be revalidated and thus it can create conditional requests by itself. The problem was that the cache code was not considering that possibility, cache clients should be allowed to issue their own conditional requests. In those cases the cache should not do anything special, just return the resource as provided by libsoup.

-- 
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