Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information