[Webkit-unassigned] [Bug 187984] [Curl] Use shared single thread for WebSocket connections

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 10 14:08:29 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=187984

--- Comment #31 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 389797
  --> https://bugs.webkit.org/attachment.cgi?id=389797
Handling connections by one thread.

View in context: https://bugs.webkit.org/attachment.cgi?id=389797&action=review

>> Source/WebCore/platform/network/curl/CurlStreamScheduler.h:64
>> +    HashMap<CurlStreamID, std::unique_ptr<CurlStream>> m_streamLists;
> 
> If HashMap is the concern because of the cost, we can switch to StdMap. If that's not enough, use Vector<std::tuple<CurlStreamID, CurlStream::Client*>>.

Why do you prefer the inefficient approach? m_streamLists simply can be removed.

-- 
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/20200210/319ad50f/attachment.htm>


More information about the webkit-unassigned mailing list