Commit Graph

28 Commits

Author SHA1 Message Date
wouter
4d105c1fea whitespace better.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4069 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-03-20 15:26:41 +00:00
wouter
d1cd3545e2 - lru_demote and lruhash_insert_or_retrieve functions for getdns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4068 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-03-20 15:25:06 +00:00
wouter
60a7029fcd - Fix to rename internally used types from _t to _type, because _t
type names are reserved by POSIX.
- iana portlist update


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3989 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-01-19 10:25:41 +00:00
wouter
68b138cbd3 And fix #551 REGENT to COPYRIGHT HOLDER in license in file headings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3079 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-02-07 13:28:39 +00:00
wouter
4d3f7cab4d - faster lruhash get_mem routine.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2366 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-01-10 13:28:48 +00:00
wouter
7a2521a724 Fix for flush_zone
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1580 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-02 11:56:01 +00:00
wouter
c732e97f8f windows threads. detect gdi32. nicer DISABLED_THREADS define. Compiles on mingw32.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1122 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-16 13:39:46 +00:00
wouter
38c018e539 - setup speec_cache for need-ldns-testns in dotests.
- check number of queued replies on incoming queries to avoid overload
         on that account.
       - fptr whitelist checks are not disabled in optimize mode.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@971 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-20 07:18:42 +00:00
wouter
89b73d20cf moved unlock to please.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@806 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 21:53:19 +00:00
wouter
d186da5604 fptrwlist and remove oldhack with islocked param.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@805 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 21:34:53 +00:00
wouter
6e8107e842 markdelfunc for lock order problem in lruhash reclaim().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@804 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 21:18:25 +00:00
wouter
e26d35a679 touch up clear and verbose.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@728 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-01 13:22:12 +00:00
wouter
6836a8c0b4 hash clear function.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@725 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 16:15:44 +00:00
wouter
b5a046ad99 function pointer whitelists on data types.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@660 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-05 11:41:12 +00:00
wouter
7253210c03 Fixup unused warnings when running without threads.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@601 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-05 14:56:38 +00:00
wouter
7866ca5398 fixups for memory.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@512 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:15:36 +00:00
wouter
69883b2a21 LRU touch of RRsets. Pretty complicated to do.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@324 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-16 12:48:48 +00:00
wouter
f3dbfd3a17 Alloc cache per thread gets used for deleted items.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@280 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 08:05:56 +00:00
wouter
8639742390 compile fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@215 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:43:20 +00:00
wouter
1e85f96158 Slabbed hash table. Drops contention on hash table main lock.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@194 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 15:17:11 +00:00
wouter
21ece5f0f4 caching code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@190 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-22 16:26:14 +00:00
wouter
c3a956aece Make lint happy and lock verify less verbose.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@185 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-21 14:38:47 +00:00
wouter
8a1b4a4afd unit test for hash table.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@184 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-21 14:34:57 +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