Commit Graph

549 Commits

Author SHA1 Message Date
wouter
11d77cbfe8 lock order verify.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@182 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-15 16:27:20 +00:00
wouter
8a8d587c48 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@180 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 14:32:44 +00:00
wouter
b2179a71bc unit tests for hash table.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@179 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 14:30:30 +00:00
wouter
c1f1375fa6 busy with lruhash.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@175 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-13 16:22:24 +00:00
wouter
1d93e9e4e4 Improved test, use empty buffer not random memory buffer.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@174 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-12 14:30:10 +00:00
wouter
61e092f862 Replymsg structure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@173 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-12 14:19:14 +00:00
wouter
d50c08c1c5 Please older compilers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@170 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 14:31:48 +00:00
wouter
075fb149bc cleanup and unit test for alloc, also lock protection statements.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@168 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 13:37:57 +00:00
wouter
a99a9cdab3 rwlock writelock checking.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@167 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 09:01:03 +00:00
wouter
30bae52bbd review of checklocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@166 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-08 14:59:41 +00:00
wouter
45222007d3 Simple thread problem detector code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@165 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-07 16:21:31 +00:00
wouter
7881840c72 Pushback when full makes all threads help out.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@154 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 11:25:44 +00:00
wouter
64ca15d5b5 Makes compile and test pass.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@148 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 16:11:32 +00:00
wouter
95ec45c352 Use random (thread safe version).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@145 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 09:42:05 +00:00
wouter
f6bc67e811 daemonize by default. -d to debugmode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@141 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 15:23:33 +00:00
wouter
1d26d432a2 config file: directory, logfile, pidfile. And they work too.
and log_warn.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@139 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 13:38:54 +00:00
wouter
e4d057d315 New config options.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@138 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 11:00:55 +00:00
wouter
3d6f070744 Ports are shared and you can kill -HUP to do a reload (of config file).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@137 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 10:04:50 +00:00
wouter
df0bfecb92 daemon code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@136 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 16:22:54 +00:00
wouter
6adf23c507 config file is used.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@135 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 13:36:29 +00:00
wouter
1f8d9d5cec Carried over from ldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@124 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-19 08:07:04 +00:00
wouter
e71fe24ab2 Updated testbed script.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@110 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 09:35:27 +00:00
wouter
c806242a24 Ldns testpkts committed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@104 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 13:23:48 +00:00
wouter
266ae64407 Print pkts to debug log.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@103 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 12:59:26 +00:00
wouter
3ce9926ef0 Review changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@99 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 14:02:50 +00:00
wouter
b934287a4d Reviewing and porting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@97 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 10:10:43 +00:00
wouter
5f733cf5b1 Extra replay tests: error and two messages at a time (first is answered, second is not).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@93 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:58:39 +00:00
wouter
7792e97860 Replay works. Nicer print of steps taken. Two example replays, forward one
query and forward but a timeout happens.
Both run in 0.1 sec; even the timeout, since it is triggered from the input
file not by waiting.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@91 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:35:26 +00:00
wouter
266cbfe2a2 replay works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@90 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 14:00:58 +00:00
wouter
1e73129b15 Work on fake events.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@89 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-12 16:04:11 +00:00
wouter
24259ffb61 replay work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@88 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 16:39:47 +00:00
wouter
189ff35633 lint and docs
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@87 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 14:12:33 +00:00
wouter
57caa95e06 replay file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@85 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 13:46:11 +00:00
wouter
1c4f344d15 Fix implicit decls.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@84 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:49:48 +00:00
wouter
110122ab6a fake event replaces link signture of event handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@83 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:47:06 +00:00
wouter
bfebfbab5c Fake event start.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@82 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:03:26 +00:00
wouter
bd15825649 replay code files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@81 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 14:55:53 +00:00
wouter
b315358011 libevent option for testbed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@74 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:18:04 +00:00
wouter
b1ef3bea96 review of services, daemon and testcode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@70 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-06 16:26:19 +00:00
wouter
e4b530f330 added unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@67 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 14:57:16 +00:00
wouter
dd68dbaf0d Readup playback file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@42 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-30 15:59:35 +00:00
wouter
0fab65f4ab testbound program.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@39 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-26 11:57:09 +00:00
wouter
731159959d documentation and planning.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@19 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-08 09:16:50 +00:00
wouter
0020689f5a testbed update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@17 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 15:30:09 +00:00
wouter
29e47c7543 Nicer code that checks correctly for needed programs..
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@14 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 13:36:11 +00:00
wouter
257d124e44 check for needed programs before running tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@13 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 13:32:49 +00:00
wouter
3f2ee10e64 testbed scripts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@12 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 11:03:29 +00:00
wouter
11179c41da doxygen comment test and comments added.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@11 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 14:55:21 +00:00
wouter
c7cc611813 A main program is compiled.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@5 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 10:42:32 +00:00