[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 13:15:06 PST 2020


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

--- Comment #30 from Basuke Suzuki <Basuke.Suzuki 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*>>.

-- 
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/79f2c954/attachment.htm>


More information about the webkit-unassigned mailing list