[Webkit-unassigned] [Bug 61538] [UNIX] SOCK_DGRAM sockets are not notified when the other end closes the connection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 11:40:34 PDT 2011


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


Anders Carlsson <andersca at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94986|review?                     |review+
               Flag|                            |




--- Comment #2 from Anders Carlsson <andersca at apple.com>  2011-06-03 11:40:34 PST ---
(From update of attachment 94986)
View in context: https://bugs.webkit.org/attachment.cgi?id=94986&action=review

> Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp:334
> +        // Process messages from data received.
> +        while (processMessage()) { }

I think this reads better as

while (true) {
    if (!processMessage())
      break;
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list