summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 19:44:31 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 19:44:31 +0000
commitd8365fca0e6fbb13c77472b170549d8254f85871 (patch)
tree824fea0a3a3ccbaa9ffbd445e662176a6b2a0f4a /ipc
parentb4d34f0d5bf2c8ac2663d70bb70a257845529a9d (diff)
downloadchromium_src-d8365fca0e6fbb13c77472b170549d8254f85871.zip
chromium_src-d8365fca0e6fbb13c77472b170549d8254f85871.tar.gz
chromium_src-d8365fca0e6fbb13c77472b170549d8254f85871.tar.bz2
Linux: remove the pipe errors that we spew all the time.
Review URL: http://codereview.chromium.org/288007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_channel_posix.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
index e8065fe..d6fa473 100644
--- a/ipc/ipc_channel_posix.cc
+++ b/ipc/ipc_channel_posix.cc
@@ -447,13 +447,14 @@ bool Channel::ChannelImpl::ProcessIncomingMessages() {
// to the console.
return false;
#endif // defined(OS_MACOSX)
+ } else if (errno == ECONNRESET) {
+ return false;
} else {
PLOG(ERROR) << "pipe error (" << pipe_ << ")";
return false;
}
} else if (bytes_read == 0) {
// The pipe has closed...
- Close();
return false;
}
}