[Webkit-unassigned] [Bug 227428] very high cpu load on page with websocket

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 1 09:16:34 PDT 2021


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

--- Comment #4 from Martijn <mxberntsen at gmail.com> ---
just wondering:

at the bottom of appendMonitoringFd():

if (maxfd < *socket)
  maxfd = *socket;

at the end the the call, maxfd is -1, and the 'maxfx = *socket' is not executed when I step through with the debugger.

changing it to:

int a = *socket;
if (maxfd < a)
  maxfd = a;

somehow resolved this :s

-- 
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/20210701/2bad1b7a/attachment.htm>


More information about the webkit-unassigned mailing list