diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-27 09:50:17 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-27 09:50:17 -0400 |
commit | fdfbffbc2be88c29a9b9b412a3ad632b5db7adb8 (patch) | |
tree | 1395eead73360691697064c1889e9266b5fc00aa /client | |
parent | dde81190587628f352952c1eb782abb031fab3d2 (diff) | |
download | mongo-fdfbffbc2be88c29a9b9b412a3ad632b5db7adb8.tar.gz |
forgot an ssl #ifdef
Diffstat (limited to 'client')
-rw-r--r-- | client/dbclient.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp index 4174c8af9ca..0c9f08efedd 100644 --- a/client/dbclient.cpp +++ b/client/dbclient.cpp @@ -1004,6 +1004,7 @@ namespace mongo { say(m); } +#ifdef MONGO_SSL SSLManager* DBClientConnection::sslManager() { if ( _sslManager ) return _sslManager; @@ -1013,9 +1014,12 @@ namespace mongo { return s; } + SSLManager* DBClientConnection::_sslManager = 0; +#endif + AtomicUInt DBClientConnection::_numConnections; bool DBClientConnection::_lazyKillCursor = true; - SSLManager* DBClientConnection::_sslManager = 0; + bool serverAlive( const string &uri ) { DBClientConnection c( false, 0, 20 ); // potentially the connection to server could fail while we're checking if it's alive - so use timeouts |