[ekiga] Much faster startup, by suppressing getting canonical name



commit 996f69287b33641ffb85e6216ceacac7cb7b7f47
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Aug 14 09:43:48 2012 +0200

    Much faster startup, by suppressing getting canonical name
    
    It causes long delays with some badly configured DNS servers (such as
    stun.voipbuster.com and freephonie.net).

 lib/engine/components/opal/opal-main.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-main.cpp b/lib/engine/components/opal/opal-main.cpp
index 0758734..b997989 100644
--- a/lib/engine/components/opal/opal-main.cpp
+++ b/lib/engine/components/opal/opal-main.cpp
@@ -110,6 +110,8 @@ struct OPALSpark: public Ekiga::Spark
 	&& audiooutput_core && videooutput_core && personal_details
 	&& !account_store && !sip_endpoint) {
 
+      PIPSocket::SetSuppressCanonicalName (true);  // avoid long delays
+
       hook_ekiga_plugins_to_opal (core);
 
       boost::shared_ptr<CallManager> call_manager (new CallManager (core));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]