[Webkit-unassigned] [Bug 287815] [curl] LibreSSL SSL_read: Connection closed abruptly, errno 0 (Fatal because this is a curl debug build)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 17 23:55:24 PST 2025


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

--- Comment #4 from Fujii Hironori <Hironori.Fujii at sony.com> ---
I use this patch to dump libcurl debug log to the debug console.

diff --git a/Source/WebCore/platform/network/curl/CurlRequest.cpp b/Source/WebCore/platform/network/curl/CurlRequest.cpp
index 950dbeadadf1..3f0dd3d0c481 100644
--- a/Source/WebCore/platform/network/curl/CurlRequest.cpp
+++ b/Source/WebCore/platform/network/curl/CurlRequest.cpp
@@ -512,6 +512,7 @@ int CurlRequest::didReceiveDebugInfo(curl_infotype type, std::span<const char> d
 {
     if (!data.data())
         return 0;
+    OutputDebugStringA(data.data());

     if (type == CURLINFO_HEADER_OUT) {
         String requestHeader(data);

-- 
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/20250218/296c94fa/attachment.htm>


More information about the webkit-unassigned mailing list