Work in progress on the implementation of parallel DNS queries.

cusax-fix
Emil Ivov 16 years ago
parent 6951835c5f
commit a5613d06de

@ -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;
/**

Loading…
Cancel
Save