diff options
author | Spencer T Brody <spencer@10gen.com> | 2012-08-06 17:29:18 -0400 |
---|---|---|
committer | Dan Pasette <dan@10gen.com> | 2012-10-15 17:18:41 -0400 |
commit | 3d8d35771fedbfd5e5fac768112e2c143a940536 (patch) | |
tree | aebe0aeb7fac0db2b27c3abe54722ab92bf0b4de | |
parent | 239d7d6a195f7dff5ad32b6cb29cd64e635c1889 (diff) | |
download | mongo-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.cpp | 1 |
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() { |