-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Curl] Remove chunked transfer processing for PUT/POST methods
https://bugs.webkit.org/show_bug.cgi?id=259209 Reviewed by Fujii Hironori. CurlFormDataStream::shouldUseChunkTransfer() always returns false since 204820@main. Since chunked transfer processing has not been used for a long time, we will remove chunked transfer processing for PUT/POST methods. It also requires libcurl built with large file support as a required feature. * Source/WebCore/platform/network/curl/CurlContext.cpp: (WebCore::CurlContext::CurlContext): (WebCore::CurlHandle::enableHttpPostRequest): (WebCore::CurlHandle::enableHttpPutRequest): (WebCore::CurlHandle::setPostFieldSize): Deleted. (WebCore::CurlHandle::setInFileSize): Deleted. (WebCore::CurlHandle::expectedSizeOfCurlOffT): Deleted. * Source/WebCore/platform/network/curl/CurlContext.h: * Source/WebCore/platform/network/curl/CurlFormDataStream.cpp: (WebCore::CurlFormDataStream::totalSize): (WebCore::CurlFormDataStream::shouldUseChunkTransfer): Deleted. (WebCore::CurlFormDataStream::computeContentLength): Deleted. * Source/WebCore/platform/network/curl/CurlFormDataStream.h: (WebCore::CurlFormDataStream::elementSize): Deleted. * Source/WebCore/platform/network/curl/CurlRequest.cpp: (WebCore::CurlRequest::setupPUT): (WebCore::CurlRequest::setupPOST): (WebCore::CurlRequest::setupSendData): Deleted. * Source/WebCore/platform/network/curl/CurlRequest.h: Canonical link: https://commits.webkit.org/266059@main
- Loading branch information
Showing
6 changed files
with
23 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters