]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fixup backlog for ldns-testns for tests on slower systems
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Jun 2015 12:08:04 +0000 (14:08 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Jun 2015 12:08:04 +0000 (14:08 +0200)
examples/ldns-testns.c

index 05c28e1c9940b3110646e7c05a2a269d5f7f028e..68a895adf46a4c1074cb11ea4c2d982f1bad52f8 100644 (file)
@@ -150,7 +150,7 @@ struct sockaddr_storage;
 
 #define INBUF_SIZE 4096         /* max size for incoming queries */
 #define DEFAULT_PORT 53                /* default if no -p port is specified */
-#define CONN_BACKLOG 5         /* 5 connections queued up for tcp */
+#define CONN_BACKLOG 256       /* connections queued up for tcp */
 static const char* prog_name = "ldns-testns";
 static FILE* logfile = 0;
 static int do_verbose = 0;