Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r165745 - [GTK] Don't busy loop when the socket is full
https://bugs.webkit.org/show_bug.cgi?id=129802 Patch by Giovanni Campagna <gcampagna@src.gnome.org> on 2014-03-17 Reviewed by Carlos Garcia Campos. When the socket is full and we see EAGAIN or EWOULDBLOCK (because the socket is non blocking), don't busy loop by tring to write again, instead poll() until the socket becomes writable. * Platform/IPC/unix/ConnectionUnix.cpp: (IPC::Connection::sendOutgoingMessage):
- Loading branch information
1 parent
43f7717
commit e354499
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters