Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 058484470283868db0b7e92574eb46283b73c668
      
https://github.com/WebKit/WebKit/commit/058484470283868db0b7e92574eb46283b73c668
  Author: Kenji Shukuwa <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to