Permalink
Browse files

Ignore SIGPIPE on mongos. SERVER-6509 SERVER-6513

Was already ignoring on mongod, this just duplicated that behavior for mongos.

Conflicts:

	s/server.cpp
  • Loading branch information...
1 parent 239d7d6 commit 3d8d35771fedbfd5e5fac768112e2c143a940536 @stbrody stbrody committed with monkey101 Aug 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 s/server.cpp
View
@@ -142,6 +142,7 @@ namespace mongo {
#if defined(SIGBUS)
signal( SIGBUS , printStackAndExit );
#endif
+ signal( SIGPIPE , SIG_IGN );
}
void init() {

0 comments on commit 3d8d357

Please sign in to comment.