[Curl] Deadlock when downloading.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Sep 2015 17:33:19 +0000 (17:33 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Sep 2015 17:33:19 +0000 (17:33 +0000)
commit408085592904bec4825ac4dad40ac22723fead3d
tree2feeb8f39bf47629b1d73fe8077470f3e047d676
parentcd5a6a566bab14ac54a49ef4cc94e7497f0565bb
[Curl] Deadlock when downloading.
https://bugs.webkit.org/show_bug.cgi?id=149596

Reviewed by Alex Christensen.

Avoid grabbing the same lock twice.

* platform/network/curl/CurlDownload.cpp:
(WebCore::CurlDownload::init):
(WebCore::CurlDownload::addHeaders):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/network/curl/CurlDownload.cpp