summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2012-08-06 17:29:18 -0400
committerDan Pasette <dan@10gen.com>2012-10-15 17:18:41 -0400
commit3d8d35771fedbfd5e5fac768112e2c143a940536 (patch)
treeaebe0aeb7fac0db2b27c3abe54722ab92bf0b4de
parent239d7d6a195f7dff5ad32b6cb29cd64e635c1889 (diff)
downloadmongo-3d8d35771fedbfd5e5fac768112e2c143a940536.tar.gz
Ignore SIGPIPE on mongos. SERVER-6509 SERVER-6513
Was already ignoring on mongod, this just duplicated that behavior for mongos. Conflicts: s/server.cpp
-rw-r--r--s/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/s/server.cpp b/s/server.cpp
index 76115c69c68..b9b1a698ab4 100644
--- a/s/server.cpp
+++ b/s/server.cpp
@@ -142,6 +142,7 @@ namespace mongo {
#if defined(SIGBUS)
signal( SIGBUS , printStackAndExit );
#endif
+ signal( SIGPIPE , SIG_IGN );
}
void init() {