From a5613d06de3b77cf21958ad1c64c1896d6765301 Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Wed, 24 Nov 2010 21:26:22 +0000 Subject: [PATCH] Work in progress on the implementation of parallel DNS queries. --- .../java/sip/communicator/util/dns/ParallelResolver.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/net/java/sip/communicator/util/dns/ParallelResolver.java b/src/net/java/sip/communicator/util/dns/ParallelResolver.java index 93a7d1122..62564586f 100644 --- a/src/net/java/sip/communicator/util/dns/ParallelResolver.java +++ b/src/net/java/sip/communicator/util/dns/ParallelResolver.java @@ -118,7 +118,7 @@ public Message send(Message query) ParallelResolution resolution = new ParallelResolution(query); resolution.sendFirstQuery(); - +/* //if we are not in panic mode we should wait a bit and see how this //goes. if we get a reply we could return bravely. if(!panicMode) @@ -137,7 +137,7 @@ public Message send(Message query) panicMode = true; - +*/ return null; } @@ -279,6 +279,9 @@ private class ParallelResolution extends Thread */ private boolean done = false; + /** + * Indicates that a response was received from the primary resolver. + */ private boolean primaryResolverResponded = true; /**