You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2016/12/05 18:12:11 UTC
[4/4] mesos git commit: Fixed small bug in
`IOSwitchboardServerProcess::acceptLoop()`.
Fixed small bug in `IOSwitchboardServerProcess::acceptLoop()`.
Review: https://reviews.apache.org/r/54348/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/05e81849
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/05e81849
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/05e81849
Branch: refs/heads/master
Commit: 05e818491c0a01ce0953ee54f298357aef6b5e77
Parents: be45c94
Author: Kevin Klues <kl...@gmail.com>
Authored: Mon Dec 5 09:45:44 2016 -0800
Committer: Anand Mazumdar <an...@apache.org>
Committed: Mon Dec 5 09:45:44 2016 -0800
----------------------------------------------------------------------
src/slave/containerizer/mesos/io/switchboard.cpp | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/05e81849/src/slave/containerizer/mesos/io/switchboard.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/io/switchboard.cpp b/src/slave/containerizer/mesos/io/switchboard.cpp
index 3b6d326..4258e86 100644
--- a/src/slave/containerizer/mesos/io/switchboard.cpp
+++ b/src/slave/containerizer/mesos/io/switchboard.cpp
@@ -862,6 +862,7 @@ void IOSwitchboardServerProcess::acceptLoop()
if (!socket.isReady()) {
failure = Failure("Failed trying to accept connection");
terminate(self(), false);
+ return;
}
// We intentionally ignore errors on the serve path, and assume