Skip to content

Commit

Permalink
#1757: Disabling IPv6 due to unexpected behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
simsekgokhan committed Sep 3, 2020
1 parent e658a7b commit 12e54cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robomongo/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char *argv[], char** envp)
// Todo from mongo repo: This should use a TransportLayerManager or TransportLayerFactory
auto serviceContext = mongo::getGlobalServiceContext();
mongo::transport::TransportLayerASIO::Options opts;
opts.enableIPv6 = true;
opts.enableIPv6 = false; // Todo: When true, it breaks connection to localhost, github #1757
opts.mode = mongo::transport::TransportLayerASIO::Options::kEgress;
serviceContext->setTransportLayer(
std::make_unique<mongo::transport::TransportLayerASIO>(opts, nullptr)
Expand Down

0 comments on commit 12e54cc

Please sign in to comment.