Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c9f5e13a69fa0a4098f85b6bf73ababb5e56aa07
      
https://github.com/WebKit/WebKit/commit/c9f5e13a69fa0a4098f85b6bf73ababb5e56aa07
  Author: Kenji Shukuwa <[email protected]>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Source/WebCore/platform/network/curl/CurlRequest.cpp

  Log Message:
  -----------
  [Curl] Discard response headers when an error occurs
https://bugs.webkit.org/show_bug.cgi?id=247716

Reviewed by Fujii Hironori.

If a cURL error occurs before the response body is received,
the previously received response headers are not notified to WebCore
to avoid malfunction.

* Source/WebCore/platform/network/curl/CurlRequest.cpp:
(WebCore::CurlRequest::didReceiveHeader):
(WebCore::CurlRequest::didCompleteTransfer):
(WebCore::CurlRequest::shouldAbortConnectRequest): Deleted.
* Source/WebCore/platform/network/curl/CurlRequest.h:

Canonical link: https://commits.webkit.org/256639@main


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

Reply via email to