summaryrefslogtreecommitdiffstats
path: root/src (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-12121-244/+275
|
* [trac749] refactor C++ utility librarychenzhengzhang2011-04-11181-6038/+365
|
* Merge branch 'master' into trac699chenzhengzhang2011-03-3038-68/+125
|\
| * [master] typo and misspelling fixesJeremy C. Reed2011-03-259-15/+15
| |
| * [master] use larger failsafe timeouts for slower machines.JINMEI Tatuya2011-03-171-2/+2
| | | | | | | | | | discussed on jabber, going to push it directory. I think this is very minor, so won't bother to increase the changelog size for this.
| * 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-1723-26/+29
| |\
| | * [master] Regenerate manual page.Jeremy C. Reed2011-03-171-1/+17
| | |
| | * [master] The daemon NOW DOES have command line options.Jeremy C. Reed2011-03-171-3/+0
| | |
| | * [jreed-copyrights] remove CZ copyrights (they are replaced with ISC)Jeremy C. Reed2011-03-1721-22/+0
| | |
| | * [jreed-copyrights] Add Copyright to ISC too.Jeremy C. Reed2011-03-1712-0/+12
| | | | | | | | | | | | 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
| * | [master] Answer REFUSED on non-IN queries (pending #702)Jelte Jansen2011-03-171-0/+3
| | |
* | | [trac699] Look up additional data for ANY type querychenzhengzhang2011-03-172-2/+12
|/ /
* | Merge branch 'trac471'Jelte Jansen2011-03-166-9/+50
|\ \
| * | [trac471] added test data fileJelte Jansen2011-03-161-0/+11
| | |
| * | [trac471] address review commentsJelte Jansen2011-03-164-17/+14
| | |
| * | [trac471] set listen on to localhost if nothing is setJelte Jansen2011-03-154-4/+37
| | | | | | | | | | | | | | | | | | (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-1695-551/+3121
| |\ \ \ | | | |/ | | |/|
| * | | [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-1691-520/+2593
|\ \ \
| * \ \ Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10Jelte Jansen2011-03-165-47/+134
| |\ \ \
| | * \ \ Merge branch 'master' into trac648Shane Kerr2011-03-16169-2058/+7425
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac src/bin/bind10/tests/bind10_test.py.in
| | * | | | Remove spurious "print" statement.Shane Kerr2011-03-161-1/+0
| | | | | |
| | * | | | Add/update copyright notices.Shane Kerr2011-03-152-1/+16
| | | | | |
| | * | | | Change from starting the server to a check that uses the "mock"Shane Kerr2011-03-154-136/+94
| | | | | | | | | | | | | | | | | | | | | | | | BIND 10 server. Far better suited as a unit test.
| | * | | | [trac648] Whitespace fixesMichal 'vorner' Vaner2011-03-073-11/+11
| | | | | |
| | * | | | Only run a single copy of BIND 10 for all of our command tests.Shane Kerr2011-03-071-73/+67
| | | | | |
| | * | | | Working show_processes with test.Shane Kerr2011-03-044-7/+108
| | | | | |