[Webkit-unassigned] [Bug 61287] [UNIX] Use SOCK_SEQPACKET when available
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 26 09:21:28 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61287
--- Comment #31 from Martin Robinson <mrobinson at webkit.org> 2011-05-26 09:21:28 PST ---
(From update of attachment 94982)
View in context: https://bugs.webkit.org/attachment.cgi?id=94982&action=review
This approach seems optimal for systems with SOCKET_SEQPACKET.
> Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp:196
> + // Connection has been closed.
> + connectionDidClose();
> + return;
> + }
I think the method call here makes the comment redundant.
> Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:47
> +#ifdef SOCK_SEQPACKET
> +#define SOCKET_TYPE SOCK_SEQPACKET
> +#else
> +#define SOCKET_TYPE SOCK_DGRAM
> +#endif
> +
It's probably better to use SOCK_SEQPACKET directly until we have the fallback. People packaging for platforms that don't support SOCK_SEQPACKET will have some advance notice that we currently fail for them.
--
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