[Webkit-unassigned] [Bug 115351] Make sure ResourceHandleSoup::platformSetDefersLoading() does not call ResourceHandleClient callbacks synchronously

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 29 09:55:18 PDT 2013


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





--- Comment #8 from Martin Robinson <mrobinson at webkit.org>  2013-04-29 09:53:38 PST ---
(In reply to comment #7)

> Agree that this should be handled by the gstreamer backend itself. The problem is that the resourceHandle member itself needs to be protected by the mutex (to check it the pointer is still valid) as it can be unrefed from a different thread or something like that (I wrote this patch some time ago and don't remember the details). The same mutex is used here for both the resourceHandle and the data callback but I am sure there are other alternatives. In any case I believe this patch should be applied so that the setDefersLoading method always have the same behaviour, but this is up to you guys. Note that this only applies to the Soup resource handle.

ResourceHandle should only be used from a single-thread (the WebCore thread) as far as I know, so I imagine this is the root of the problem.

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