[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
Mon Apr 22 06:50:04 PDT 2019


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

--- Comment #16 from Takashi Komori <Takashi.Komori at sony.com> ---
(In reply to Fujii Hironori from comment #13)
> Comment on attachment 367791 [details]
> 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

Applied holdLock to new added m_cancelMutex.

-- 
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/5169bde5/attachment-0001.html>


More information about the webkit-unassigned mailing list