summaryrefslogtreecommitdiffstats
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [trac749] some modifications to make it compileJelte Jansen2011-04-135-5/+6
|
* [trac749] cleanup dep fileschenzhengzhang2011-04-132-2/+0
|
* [trac749] update gen-rdatacode python scriptchenzhengzhang2011-04-121-4/+9
|
* [trac749] update placeholder scriptschenzhengzhang2011-04-126-14/+25
|
* [trac749] commit directory src/lib/utilchenzhengzhang2011-04-1241-0/+6034
|
* [trac749] refactor more C++ utility codechenzhengzhang2011-04-12112-230/+261
|
* [trac749] refactor C++ utility librarychenzhengzhang2011-04-11172-6030/+347
|
* [master] typo and misspelling fixesJeremy C. Reed2011-03-259-15/+15
|
* Record the time when we are using send() as well as sendTo()Shane Kerr2011-03-171-0/+2
|
* [master] add testdata file to the distributionJeremy C. Reed2011-03-171-0/+1
| | | | | I didn't test yet, but was missing and I see the distcheck autobuilder had problem related to this.
* Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10Jelte Jansen2011-03-1716-17/+11
|\
| * [jreed-copyrights] remove CZ copyrights (they are replaced with ISC)Jeremy C. Reed2011-03-1716-17/+0
| |
| * [jreed-copyrights] Add Copyright to ISC too.Jeremy C. Reed2011-03-1711-0/+11
| | | | | | | | Copyright on this BIND 10 work from CZ.NOC belonfs to ISC.
* | [master] fix updateRTT for fast responsesJelte Jansen2011-03-172-6/+10
|/ | | | | - updateRTT now accepts 0 (and will change it internally to 1 as it needs a value >0 for division) - improved check for negative values due to clock changes in the caller
* [master] fix cppcheck errorJelte Jansen2011-03-171-0/+1
| | | | (reviewed on jabber)
* Merge branch 'trac697'Jelte Jansen2011-03-172-19/+62
|\
| * [trac697] address review commentsJelte Jansen2011-03-171-9/+14
| |
| * [trac697] move decls to instide try blockJelte Jansen2011-03-171-2/+3
| |
| * [trac697] add test for dns parse error in responseJelte Jansen2011-03-161-6/+21
| |
| * [trac697] Catch DNSProtocolError (such as parse errors)Jelte Jansen2011-03-161-14/+36
| | | | | | | | If so, for now treat these as a timeout and resend if there are retries left, fail otherwise
* | Merge branch 'trac471'Jelte Jansen2011-03-163-8/+26
|\ \
| * | [trac471] added test data fileJelte Jansen2011-03-161-0/+11
| | |
| * | [trac471] address review commentsJelte Jansen2011-03-162-8/+10
| | |
| * | [trac471] set listen on to localhost if nothing is setJelte Jansen2011-03-151-3/+8
| | | | | | | | | | | | | | | | | | (on the initial configuration) also added a special case for the 'version' config element in the configuration checker (this caused the configuration to be rejected, while for the purposes of validation it should either be ignored or cause a different validation path)
* | | Merge remote-tracking branch 'origin/master'Michal 'vorner' Vaner2011-03-1614-99/+151
|\ \ \
| * | | [trac641] Fix unit testStephen Morris2011-03-161-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This branch removed the shared pointer that the NSAS used to link to the resolver. As a result we now have to make sure that the resolver stays in existence while the NSAS is active. This commit fixes that problem in a unit test.
| * | | Merge branch 'master' into trac641Stephen Morris2011-03-1681-433/+2615
| |\ \ \ | | | |/ | | |/|
| * | | [trac641] Changes after review commentsStephen Morris2011-03-162-11/+12
| | | |
| * | | [trac641] Added destructor to TestResolver to cure memory leaksStephen Morris2011-03-152-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverted ZoneEntry to the original version and added the destructor to TestResolver to call all the saved callbacks. This breaks internal shared_ptr loops, allowing the NSAS to destoy itself gracefully, and avoiding memory leaks.
| * | | [trac641] Random number generator now throws exceptions on errorStephen Morris2011-03-152-20/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously when compiled without NDEBUG set it did, if a check failed it called assert(). The tests checks for this using ASSERT_DEATH. However, ASSERT_DEATH leaks memory and this was obscuring the valgrind output. The changes here cause an exception to be thrown (instead of a call to abort()) in the case of an error and the unit tests now EXPECT_THROW instead of ASSERT_DEATH.
| * | | [trac641] Remove callback objects's shared pointers to ZoneEntryStephen Morris2011-03-151-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ZoneEntry object was creating a callback and keeping a shared pointer to it, but the callback was also using a shared pointer to link back to the ZoneEntry. This change removed the shared pointers in the callback objects - they now use a "raw" pointer to point back to the ZoneEntry.
| * | | [trac641] Change headers to use C++-style commentsStephen Morris2011-03-151-23/+15
| | | | | | | | | | | | | | | | ... to make it easier to comment out sets of tests for debugging.
| * | | [trac641] First part of tackling memory leaksStephen Morris2011-03-1511-45/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the NSAS, store a pointer to the resolver as a "raw" pointer, not a shared pointer. The NSAS is part of the resolver, although it can call back into the resolver. If both store a shared pointer to each other we can have the case where the reference counts can never drop to zero.
* | | | [master] Ruby msgq is no longer neededMichal 'vorner' Vaner2011-03-163-598/+0
| |/ / |/| |
* | | [trac678] fix the bug that alarm isn't cancelled which will blocking ↵hanfeng2011-03-161-0/+2
| | | | | | | | | | | | followed unit test
* | | Merge branch 'master' into trac678hanfeng2011-03-1677-402/+2087
|\ \ \
| * \ \ [master] Merge branch 'trac488'Jelte Jansen2011-03-162-18/+21
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/resolve/recursive_query.cc
| | * | | [trac488] two minor fixesJelte Jansen2011-03-092-2/+3
| | | | | | | | | | | | | | | | | | | | make sure cur_zone_ is (re)initialized to ".", and off-by-one in glue selector
| | * | | [trac488] Check if a delegation actually delegates downJelte Jansen2011-03-071-6/+8
| | | | |
| * | | | Merge branch 'trac658_new'Jelte Jansen2011-03-168-114/+351
| |\ \ \ \
| | * | | | [trac658] remove tabsJelte Jansen2011-03-161-40/+46
| | | | | |
| | * | | | [trac658] Add TCP 'short send' testsJelte Jansen2011-03-151-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | Added an option to tcpSendReturnTest that makes it not send all data, resulting in a timeout
| | * | | | [trac658] Addressed review comments 2Jelte Jansen2011-03-153-29/+58
| | | | | |
| | * | | | [trac658] Add IOAddress equality and return packet QID checksJelte Jansen2011-03-148-85/+257
| | | | | |
| * | | | | Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10JINMEI Tatuya2011-03-155-4/+8
| |\ \ \ \ \
| | * \ \ \ \ Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10Jelte Jansen2011-03-153-83/+128
| | |\ \ \ \ \
| | * | | | | | [master] test build fixesJelte Jansen2011-03-155-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - need stdlib.h for random() - need return even after assert() - cppcheck mentioned a few args that could be passed by reference
| * | | | | | | Merge branch 'trac646'JINMEI Tatuya2011-03-153-1/+42
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
| | * | | | | | [trac646] fixed a bug that a failure in finding one glue led to dropping all ↵JINMEI Tatuya2011-03-153-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | glues.
| * | | | | | | Merge branch 'trac80'JINMEI Tatuya2011-03-153-83/+128
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |