Permalink
Browse files

Ignore SIGPIPE on mongos. SERVER-6509 SERVER-6513

Was already ignoring on mongod, this just duplicated that behavior for mongos.
  • Loading branch information...
1 parent e488722 commit d4e7fba488bc86f7f3c98523589fc09d7c88b65f @stbrody stbrody committed Aug 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mongo/s/server.cpp
View
@@ -158,6 +158,7 @@ namespace mongo {
#if defined(SIGBUS)
signal( SIGBUS , printStackAndExit );
#endif
+ signal( SIGPIPE , SIG_IGN );
set_new_handler( my_new_handler );
}

0 comments on commit d4e7fba

Please sign in to comment.