[webkit-changes] [WebKit/WebKit] 058484: [Curl] Use CURL_WRITEFUNC_ERROR when aborting CURL...
Kenji Shukuwa
noreply at github.com
Thu Apr 27 20:52:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 058484470283868db0b7e92574eb46283b73c668
https://github.com/WebKit/WebKit/commit/058484470283868db0b7e92574eb46283b73c668
Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
Date: 2023-04-27 (Thu, 27 Apr 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/263483@main
More information about the webkit-changes
mailing list