diff options
author | Kristina <kristina@10gen.com> | 2011-12-01 16:33:35 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-12-01 16:35:37 -0500 |
commit | 468b35887eaec04f0e1dddccfcb5f3a759fff9e0 (patch) | |
tree | 775c9cda5b123b41928308e347495f8fe3abe13a /util | |
parent | d99fcfeb751c1019abc0654fa5e863aae3c76bcd (diff) | |
download | mongo-468b35887eaec04f0e1dddccfcb5f3a759fff9e0.tar.gz |
Fix MessagingPort to register all ports in global list
Diffstat (limited to 'util')
-rw-r--r-- | util/net/message_port.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/net/message_port.cpp b/util/net/message_port.cpp index 9abfaf7c975..29764c3ecdc 100644 --- a/util/net/message_port.cpp +++ b/util/net/message_port.cpp @@ -139,6 +139,7 @@ namespace mongo { MessagingPort::MessagingPort( Socket& sock ) : Socket( sock ) , piggyBackData( 0 ) { + ports.insert(this); } void MessagingPort::shutdown() { |