Commit Graph

35 Commits

Author SHA1 Message Date
wouter
1ad21fa550 - Fix that unbound-control reload frees the rrset keys and returns
the memory pages to the system.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4669 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-01 14:00: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
3c93de7e26 - Fix 781: prealloc() is an HP-UX system library call.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3791 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-06-14 10:31:47 +00:00
wouter
88682a7df7 nicer code for int_max.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3443 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-06-29 13:37:34 +00:00
wouter
f82a1b6187 Fixup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3441 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-06-29 10:19:14 +00:00
wouter
01bed76a9b Do not divide by zero.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3374 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-03-20 16:03:14 +00:00
wouter
d1bf57dfd1 - Fixes to add integer overflow checks on allocation (defense in depth).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3372 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-03-20 15:36:25 +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
db8f72c4f7 - Fix sldns to use sldns_ prefix for all ldns_ variables.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3022 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 09:11:16 +00:00
wouter
f769c516a7 - Fix alloc_reg_release for longer uptime in out of memory conditions.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2270 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-01 12:04:12 +00:00
wouter
ba004863da fix to run longer in out of memory conditions
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2121 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-05-31 12:46:24 +00:00
wouter
467f70af21 and mark realloc freed data
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2017 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 12:01:56 +00:00
wouter
6668daec7f alloc_lite works
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2015 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 11:01:33 +00:00
wouter
0e30601889 --enable-alloc-lite
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2014 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-09 16:26:53 +00:00
wouter
787d87dfd4 Removed hard malloc failure reported by Greg Woods.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1876 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-28 08:04:38 +00:00
wouter
04ffe11ee9 unwanted reply threshold like in the draft.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1321 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-22 14:36:46 +00:00
wouter
f748f45caa alloc id overflow handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@729 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-01 14:39:50 +00:00
wouter
0638f01d0a keep cache of prealloced blocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@698 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 22:17:02 +00:00
wouter
4bcd6aac94 regional nicer, remove region-allocator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@697 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 20:31:43 +00:00
wouter
77f871b043 please lint and doxygen.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@513 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:18:50 +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
7d3fc76d0d total allocation tracking.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@507 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-10 09:07:19 +00:00
wouter
139baa112a id number change
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@496 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 09:24:20 +00:00
wouter
b41deacab1 Memory reporting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@447 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 15:51:06 +00:00
wouter
b3bf83c415 debug work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@371 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 15:04:01 +00:00
wouter
4ecb02711a Compiletest fix alloc.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@302 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 09:55:30 +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
226528d744 Commit to help ldns test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@248 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-18 08:50:44 +00:00
wouter
6f8a76a4fd ids and parsing rrs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@241 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-16 15:21:50 +00:00
wouter
84a15031be Commit code, and see if unit test is fixed (with less busy open).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@233 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 07:11:57 +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
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
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
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