[Webkit-unassigned] [Bug 61287] [UNIX] Don't use SOCK_DGRAM in socketpair()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 01:59:28 PDT 2011


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


Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94816|0                           |1
        is obsolete|                            |
  Attachment #94816|review?                     |
               Flag|                            |
  Attachment #94943|                            |review?
               Flag|                            |




--- Comment #14 from Carlos Garcia Campos <cgarcia at igalia.com>  2011-05-26 01:59:28 PST ---
Created an attachment (id=94943)
 --> (https://bugs.webkit.org/attachment.cgi?id=94943&action=review)
New patch using SOCK_SEQPACKET when available

Actually, I think falling back to STREAM sockets is much easier than using a dummy socket, because we can use the same code for both STREAM and SEQPACKET sockets. For SEQPACKET m_readBufferSize == messageLength && m_fileDescriptorsSize == messageInfo.attachmentCount() so it will never memmove.

-- 
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