From 0ebe3f1f358ab0d3f96efaa2d341eded22604a28 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 2 Jan 2014 16:12:55 -0800 Subject: [PATCH] Disable NameResolver temporarily --- src/ripple_app/peers/Peers.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ripple_app/peers/Peers.cpp b/src/ripple_app/peers/Peers.cpp index 793355b09..30a5e78a3 100644 --- a/src/ripple_app/peers/Peers.cpp +++ b/src/ripple_app/peers/Peers.cpp @@ -130,9 +130,13 @@ public: , mPhase (0) , mScanTimer (io_service) , mPolicyTimer (io_service) + +// Disable the Resolver since it is broken in this version +#if 0 , m_resolver (NameResolver::New ( io_service, Journal())) +#endif { } @@ -256,12 +260,19 @@ public: void onStop () { +// Disable the Resolver since it is broken in this version +#if 0 m_resolver->stop_async(); +#endif } void onChildrenStopped () { +// Disable the Resolver since it is broken in this version +#if 0 m_resolver->stop (); +#endif + // VFALCO TODO Clean this up and do it right, based on sockets stopped(); }