[webkit-changes] [WebKit/WebKit] 46fe83: [Curl] Use CURL_WRITEFUNC_ERROR when aborting CURL...
Kenji Shukuwa
noreply at github.com
Sun May 7 22:56:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 46fe83c4843946ca6e5421f2dd798339ccc05239
https://github.com/WebKit/WebKit/commit/46fe83c4843946ca6e5421f2dd798339ccc05239
Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
Date: 2023-05-07 (Sun, 07 May 2023)
Changed paths:
M Source/WebCore/platform/network/curl/CurlRequest.cpp
M Source/cmake/OptionsPlayStation.cmake
M Source/cmake/OptionsWin.cmake
Log Message:
-----------
[Curl] Use CURL_WRITEFUNC_ERROR when aborting CURLOPT_WRITEFUNCTION
https://bugs.webkit.org/show_bug.cgi?id=256071
Reviewed by Fujii Hironori.
It may not be correct to return 0 to abort CURLOPT_HEADERFUNCTION or
CURLOPT_WRITEFUNCTION. So replace it with CURL_WRITEFUNC_ERROR.
* Source/WebCore/platform/network/curl/CurlRequest.cpp:
(WebCore::CurlRequest::didReceiveHeader):
(WebCore::CurlRequest::didReceiveData):
* Source/cmake/OptionsPlayStation.cmake:
* Source/cmake/OptionsWin.cmake:
Canonical link: https://commits.webkit.org/263783@main
More information about the webkit-changes
mailing list