Commit Graph

4530 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
f5834160dc Remove warning on FreeBSD4.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@181 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-15 10:37:00 +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
2ca02e3d34 lruhash remove routine.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@178 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 12:21:03 +00:00
wouter
d169dc505f Lint complained, fixup array lookup using hash value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@177 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 10:47:11 +00:00
wouter
09a67c14de lruhash insert and lookup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@176 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 10:42:50 +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
5517194893 0.1 tag.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@172 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 15:53:02 +00:00
wouter
eccaedbf8e No empty if body in nonevent compile.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@171 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 14:55:57 +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
de2c427d36 Debug threads when possible.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@169 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 14:09:32 +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
8ef4e05ca2 alloc quar work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@164 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-06 15:46:17 +00:00
wouter
445d9e7341 Test result OK.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@163 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-06 09:49:15 +00:00
wouter
89333abd4c Alloc layout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@162 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 15:03:58 +00:00
wouter
0286fa3020 exit on signal, compatible with bad versions of libevent.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@161 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 09:48:31 +00:00
wouter
b5a913b7ed Porting to solaris.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@160 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 09:08:12 +00:00
wouter
06714ab888 no warnings for thread code (porting), and nicer logging.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@159 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 09:03:14 +00:00
wouter
b5a05cc19c Small changes, nicer deallocation, nonblocking.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@158 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-01 15:50:57 +00:00
wouter
8f459044b9 Cast to make warning disappear.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@157 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 15:46:28 +00:00
wouter
341b653252 quieter.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@156 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 14:28:20 +00:00
wouter
66e5f9aa03 New test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@155 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 13:55:09 +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
3d609bfefd Random outgoing port ranges.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@153 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 10:46:35 +00:00
wouter
9845f06053 Signal solution
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@152 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 10:33:04 +00:00
wouter
7205f288fb Fork if no threading is available.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@151 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 09:41:34 +00:00
wouter
99ee14a4e5 Nicer thread alternatives.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@150 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 09:28:53 +00:00
wouter
0aa62a84cc - don't open pipes that are unused (no pipes if 1 thread only).
- SIGTERM.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@149 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 16:18:35 +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
1fd9ca4b92 TODO item for later.
Doxygen fixes and lint fix.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@147 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 16:05:18 +00:00
wouter
026db40657 Threading.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@146 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 14:49:11 +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
2c1cff44c2 Random nrs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@144 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 16:40:58 +00:00
wouter
abcd9fdb40 random code cleaned up.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@143 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 16:27:10 +00:00
wouter
34d45e9677 Commit of straight random.c, modifications can show up in svn.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@142 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 15:48:25 +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
0d2d58d384 Fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@140 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 13:59:45 +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
2f5574be76 manpage , fd-setsize for minievent.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@134 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-21 09:52:46 +00:00
wouter
f73bab1e28 config file param.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@133 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 16:19:00 +00:00