[webkit-changes] [WebKit/WebKit] 8a9f0f: [curl] Obtain the Content-Length and request heade...
Kenji Shukuwa
noreply at github.com
Thu May 30 17:59:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8a9f0f239bc433855d47938d4d421b1dbac39f46
https://github.com/WebKit/WebKit/commit/8a9f0f239bc433855d47938d4d421b1dbac39f46
Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M LayoutTests/platform/wincairo/TestExpectations
M Source/WebCore/platform/network/curl/CurlContext.cpp
M Source/WebCore/platform/network/curl/CurlContext.h
M Source/WebCore/platform/network/curl/CurlRequest.cpp
M Source/WebCore/platform/network/curl/CurlRequest.h
Log Message:
-----------
[curl] Obtain the Content-Length and request header size ourselves.
https://bugs.webkit.org/show_bug.cgi?id=272445
Reviewed by Fujii Hironori.
Since curl 8.7.0, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T and
CURLINFO_REQUEST_SIZE are no longer available in the header callback.
For this reason, we will obtain the Content-Length and request header
size ourselves.
* LayoutTests/platform/wincairo/TestExpectations:
* Source/WebCore/platform/network/curl/CurlContext.cpp:
(WebCore::CurlHandle::addExtraNetworkLoadMetrics):
* Source/WebCore/platform/network/curl/CurlContext.h:
* Source/WebCore/platform/network/curl/CurlRequest.cpp:
(WebCore::CurlRequest::setupTransfer):
(WebCore::CurlRequest::didReceiveHeader):
(WebCore::CurlRequest::didReceiveDebugInfo):
(WebCore::CurlRequest::networkLoadMetrics):
(WebCore::CurlRequest::getContentLength):
* Source/WebCore/platform/network/curl/CurlRequest.h:
Canonical link: https://commits.webkit.org/279553@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list