[Webkit-unassigned] [Bug 191650] [Curl] Fix Curl Request Scheduler not to release wrong Curl handle when request is cancelled.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 21 19:53:00 PDT 2019


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

--- Comment #13 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 367791
  --> https://bugs.webkit.org/attachment.cgi?id=367791
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=367791&action=review

> Source/WebCore/platform/network/curl/CurlRequestScheduler.cpp:99
> +        LockHolder locker(m_mutex);

I think you should use holdLock.
auto locker = holdLock(lock);
https://trac.webkit.org/browser/webkit/trunk/Source/WTF/wtf/Locker.h?rev=244495#L121

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190422/cf1dbadc/attachment.html>


More information about the webkit-unassigned mailing list