summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.cpp
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2018-06-22 15:15:12 -0400
committerJonathan Reams <jbreams@mongodb.com>2018-08-21 13:10:16 -0400
commit1fb52e97b33c6c4ed7855994aeb7c4c4a7e64b1d (patch)
tree69e739b096807d3e7ce1698ede76a87d72baed0b /src/mongo/s/server.cpp
parent5c647106e67bed997d649699fc929e5b41a0a759 (diff)
downloadmongo-1fb52e97b33c6c4ed7855994aeb7c4c4a7e64b1d.tar.gz
SERVER-34986 Allow connections to override maxConns based on CIDR range
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index 0dc64211d36..0ac5e2c17e1 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -446,6 +446,12 @@ ExitCode runMongosServer(ServiceContext* serviceContext) {
return EXIT_NET_ERROR;
}
+ status = serviceContext->getServiceEntryPoint()->start();
+ if (!status.isOK()) {
+ error() << "Failed to start the service entry point: " << redact(status);
+ return EXIT_NET_ERROR;
+ }
+
status = serviceContext->getTransportLayer()->start();
if (!status.isOK()) {
error() << "Failed to start the transport layer: " << redact(status);