Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Soup] Streamline cancellation and client checks
https://bugs.webkit.org/show_bug.cgi?id=107808 Reviewed by Martin Robinson. Covered by existing tests. * platform/network/ResourceHandle.h: (ResourceHandle): * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::cancelledOrClientless): new method to check for cancellation and lack of client. (WebCore): (WebCore::gotHeadersCallback): use the new method. (WebCore::restartedCallback): ditto. (WebCore::redirectCloseCallback): ditto. (WebCore::redirectSkipCallback): ditto. (WebCore::wroteBodyDataCallback): ditto. (WebCore::nextMultipartResponsePartCallback): ditto. (WebCore::sendRequestCallback): ditto. (WebCore::networkEventCallback): ditto. (WebCore::ResourceHandle::platformSetDefersLoading): ditto. (WebCore::readCallback): ditto. Canonical link: https://commits.webkit.org/126151@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
68 additions
and
37 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