[Webkit-unassigned] [Bug 224523] [WinCairo][curl] flaky http test failures under heavy CPU load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 14 14:44:44 PDT 2021


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

--- Comment #3 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This issue?

CURLE_COULDNT_CONNECT during heavy workload: tens of thousands of requests per minute - Stack Overflow
https://stackoverflow.com/q/32212207


However, enabling CURLOPT_FORBID_REUSE seems no luck.

diff --git a/Source/WebCore/platform/network/curl/CurlContext.cpp b/Source/WebCore/platform/network/curl/CurlContext.cpp
index 2f6556ee05b1..a4df0b19b595 100644
--- a/Source/WebCore/platform/network/curl/CurlContext.cpp
+++ b/Source/WebCore/platform/network/curl/CurlContext.cpp
@@ -399,6 +399,8 @@ void CurlHandle::setUrl(const URL& url)
     // url is in ASCII so latin1() will only convert it to char* without character translation.
     curl_easy_setopt(m_handle, CURLOPT_URL, curlUrl.string().latin1().data());

+    curl_easy_setopt(m_handle, CURLOPT_FORBID_REUSE, 1L);
+
     if (url.protocolIs("https"))
         enableSSLForHost(m_url.host().toString());
 }

-- 
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/20210414/602101ef/attachment-0001.htm>


More information about the webkit-unassigned mailing list