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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 3 16:16:38 PST 2020


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

--- Comment #19 from Basuke Suzuki <Basuke.Suzuki at sony.com> ---
(In reply to Takashi Komori from comment #13)
> > > Source/WebCore/platform/network/curl/CurlStreamScheduler.cpp:172
> > > +    struct timeval timeout { 0, selectTimeoutMS * 1000};
> > 
> > You should implement self-piping technique here to wake up. (Bug 173449)
> > Then, you can sleep forever here instead of waking up every 20ms.
> 
> 
> We feel like implementing that in another ticket, because already we have
> had many changes.
> 
> And we think that we might be able to implement similar function by using
> curl_multi_poll and curl_multi_wakeup which are supported above curl 7.68.0
> How do you think about using curl_multi_poo/curl_multi_wakeup?

I feel that is very right direction. I agree with postponing this improvement later.

-- 
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/20200204/dab44f06/attachment.htm>


More information about the webkit-unassigned mailing list