chiark / gitweb /
+ * adnsresfilter doesn't resolve textual prefixes of addresses (eg,
authorian <ian>
Sun, 21 May 2000 18:34:18 +0000 (18:34 +0000)
committerian <ian>
Sun, 21 May 2000 18:34:18 +0000 (18:34 +0000)
@@ -5,12 +5,15 @@
     `qu->interim_allocd>=0' on some platforms eg 64 bit).
+  * adnsresfilter doesn't resolve textual prefixes of addresses (eg,
+    10.0.0.1 out of 10.0.0.123) if input happens to block at that point.
   Minor improvements:
+  * adnsresfilter default timeout changed to 1000ms.

changelog
client/adnsresfilter.c

index e45c3572cfee0bb599ae694a2d32dabce30f2624..e09e74a229662b74d8a22e4c35cf73184236e65a 100644 (file)
--- a/changelog
+++ b/changelog
@@ -5,12 +5,15 @@ adns (0.9) unstable; urgency=low
     `TCP connection failed: poll/select: exceptional condition detected'.
   * Call MEM_ROUND in __transfer_interim (avoids assert fail
     `qu->interim_allocd>=0' on some platforms eg 64 bit).
+  * adnsresfilter doesn't resolve textual prefixes of addresses (eg,
+    10.0.0.1 out of 10.0.0.123) if input happens to block at that point.
 
   Portability/compilation fixes:
   * Move `extern "C" {' to after #include <...>'s.
 
   Minor improvements:
   * Do not print warning if sendto() gives EAGAIN.
+  * adnsresfilter default timeout changed to 1000ms.
 
  --
 
index e641d6f05fd6901337cb5e86ad887e3e82c7f38a..81750491fbf8952cf67292eedbfc77ca0f9ab61b 100644 (file)
@@ -50,7 +50,7 @@ struct outqueuenode {
 };
 
 static int bracket, forever, address;
-static unsigned long timeout=100;
+static unsigned long timeout= 1000;
 static adns_rrtype rrt= adns_r_ptr;
 
 static int outblocked, inputeof;
@@ -369,7 +369,6 @@ static void readstdin(void) {
       if (!bracket && !isalnum(c)) startaddr();
     }
   }
-  if (cbyte==3 && inbyte>0 && !bracket) procaddr();
 }
 
 static void startup(void) {