diff options
Diffstat (limited to 'src/mongo/client/connection_pool.cpp')
-rw-r--r-- | src/mongo/client/connection_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/connection_pool.cpp b/src/mongo/client/connection_pool.cpp index 9fa5493824f..cfdb872474c 100644 --- a/src/mongo/client/connection_pool.cpp +++ b/src/mongo/client/connection_pool.cpp @@ -185,7 +185,7 @@ ConnectionPool::ConnectionList::iterator ConnectionPool::acquireConnection( conn->setSoTimeout(durationCount<Milliseconds>(timeout) / 1000.0); uassertStatusOK(conn->connect(target)); - conn->port().tag |= _messagingPortTags; + conn->port().setTag(conn->port().getTag() | _messagingPortTags); if (isInternalAuthSet()) { conn->auth(getInternalUserAuthParamsWithFallback()); |