[Webkit-unassigned] [Bug 248458] New: [Curl] Register/Unregister NetworkDataTaskCurl to NetworkSession
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 28 23:42:39 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=248458
Bug ID: 248458
Summary: [Curl] Register/Unregister NetworkDataTaskCurl to
NetworkSession
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kenji.shukuwa at open-tec.co.jp
In the inherited classes of NetworkDataTask, it looks like we have to do the registration/unregistration
to NetworkSession in the constructor/destructor. However, the curl port does not handle this.
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp#L82
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm#L478
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp#L67
---
m_session->registerNetworkDataTask(*this);
---
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp#L92-L93
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm#L488-L489
https://github.com/WebKit/WebKit/blob/main/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp#L94-L95
---
if (m_session)
m_session->unregisterNetworkDataTask(*this);
---
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221129/804c5e3e/attachment.htm>
More information about the webkit-unassigned
mailing list