Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [trac749] some modifications to make it compile | Jelte Jansen | 2011-04-13 | 5 | -5/+6 |
| | |||||
* | [trac749] cleanup dep files | chenzhengzhang | 2011-04-13 | 2 | -2/+0 |
| | |||||
* | [trac749] update gen-rdatacode python script | chenzhengzhang | 2011-04-12 | 1 | -4/+9 |
| | |||||
* | [trac749] update placeholder scripts | chenzhengzhang | 2011-04-12 | 6 | -14/+25 |
| | |||||
* | [trac749] commit directory src/lib/util | chenzhengzhang | 2011-04-12 | 41 | -0/+6034 |
| | |||||
* | [trac749] refactor more C++ utility code | chenzhengzhang | 2011-04-12 | 112 | -230/+261 |
| | |||||
* | [trac749] refactor C++ utility library | chenzhengzhang | 2011-04-11 | 172 | -6030/+347 |
| | |||||
* | [master] typo and misspelling fixes | Jeremy C. Reed | 2011-03-25 | 9 | -15/+15 |
| | |||||
* | Record the time when we are using send() as well as sendTo() | Shane Kerr | 2011-03-17 | 1 | -0/+2 |
| | |||||
* | [master] add testdata file to the distribution | Jeremy C. Reed | 2011-03-17 | 1 | -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/bind10 | Jelte Jansen | 2011-03-17 | 16 | -17/+11 |
|\ | |||||
| * | [jreed-copyrights] remove CZ copyrights (they are replaced with ISC) | Jeremy C. Reed | 2011-03-17 | 16 | -17/+0 |
| | | |||||
| * | [jreed-copyrights] Add Copyright to ISC too. | Jeremy C. Reed | 2011-03-17 | 11 | -0/+11 |
| | | | | | | | | Copyright on this BIND 10 work from CZ.NOC belonfs to ISC. | ||||
* | | [master] fix updateRTT for fast responses | Jelte Jansen | 2011-03-17 | 2 | -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 error | Jelte Jansen | 2011-03-17 | 1 | -0/+1 |
| | | | | (reviewed on jabber) | ||||
* | Merge branch 'trac697' | Jelte Jansen | 2011-03-17 | 2 | -19/+62 |
|\ | |||||
| * | [trac697] address review comments | Jelte Jansen | 2011-03-17 | 1 | -9/+14 |
| | | |||||
| * | [trac697] move decls to instide try block | Jelte Jansen | 2011-03-17 | 1 | -2/+3 |
| | | |||||
| * | [trac697] add test for dns parse error in response | Jelte Jansen | 2011-03-16 | 1 | -6/+21 |
| | | |||||
| * | [trac697] Catch DNSProtocolError (such as parse errors) | Jelte Jansen | 2011-03-16 | 1 | -14/+36 |
| | | | | | | | | If so, for now treat these as a timeout and resend if there are retries left, fail otherwise | ||||
* | | Merge branch 'trac471' | Jelte Jansen | 2011-03-16 | 3 | -8/+26 |
|\ \ | |||||
| * | | [trac471] added test data file | Jelte Jansen | 2011-03-16 | 1 | -0/+11 |
| | | | |||||
| * | | [trac471] address review comments | Jelte Jansen | 2011-03-16 | 2 | -8/+10 |
| | | | |||||
| * | | [trac471] set listen on to localhost if nothing is set | Jelte Jansen | 2011-03-15 | 1 | -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' Vaner | 2011-03-16 | 14 | -99/+151 |
|\ \ \ | |||||
| * | | | [trac641] Fix unit test | Stephen Morris | 2011-03-16 | 1 | -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 trac641 | Stephen Morris | 2011-03-16 | 81 | -433/+2615 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | [trac641] Changes after review comments | Stephen Morris | 2011-03-16 | 2 | -11/+12 |
| | | | | |||||
| * | | | [trac641] Added destructor to TestResolver to cure memory leaks | Stephen Morris | 2011-03-15 | 2 | -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 error | Stephen Morris | 2011-03-15 | 2 | -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 ZoneEntry | Stephen Morris | 2011-03-15 | 1 | -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 comments | Stephen Morris | 2011-03-15 | 1 | -23/+15 |
| | | | | | | | | | | | | | | | | ... to make it easier to comment out sets of tests for debugging. | ||||
| * | | | [trac641] First part of tackling memory leaks | Stephen Morris | 2011-03-15 | 11 | -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 needed | Michal 'vorner' Vaner | 2011-03-16 | 3 | -598/+0 |
| |/ / |/| | | |||||
* | | | [trac678] fix the bug that alarm isn't cancelled which will blocking ↵ | hanfeng | 2011-03-16 | 1 | -0/+2 |
| | | | | | | | | | | | | followed unit test | ||||
* | | | Merge branch 'master' into trac678 | hanfeng | 2011-03-16 | 77 | -402/+2087 |
|\ \ \ | |||||
| * \ \ | [master] Merge branch 'trac488' | Jelte Jansen | 2011-03-16 | 2 | -18/+21 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/resolve/recursive_query.cc | ||||
| | * | | | [trac488] two minor fixes | Jelte Jansen | 2011-03-09 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | make sure cur_zone_ is (re)initialized to ".", and off-by-one in glue selector | ||||
| | * | | | [trac488] Check if a delegation actually delegates down | Jelte Jansen | 2011-03-07 | 1 | -6/+8 |
| | | | | | |||||
| * | | | | Merge branch 'trac658_new' | Jelte Jansen | 2011-03-16 | 8 | -114/+351 |
| |\ \ \ \ | |||||
| | * | | | | [trac658] remove tabs | Jelte Jansen | 2011-03-16 | 1 | -40/+46 |
| | | | | | | |||||
| | * | | | | [trac658] Add TCP 'short send' tests | Jelte Jansen | 2011-03-15 | 1 | -3/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | Added an option to tcpSendReturnTest that makes it not send all data, resulting in a timeout | ||||
| | * | | | | [trac658] Addressed review comments 2 | Jelte Jansen | 2011-03-15 | 3 | -29/+58 |
| | | | | | | |||||
| | * | | | | [trac658] Add IOAddress equality and return packet QID checks | Jelte Jansen | 2011-03-14 | 8 | -85/+257 |
| | | | | | | |||||
| * | | | | | Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10 | JINMEI Tatuya | 2011-03-15 | 5 | -4/+8 |
| |\ \ \ \ \ | |||||
| | * \ \ \ \ | Merge branch 'master' of ssh://bind10.isc.org/var/bind10/git/bind10 | Jelte Jansen | 2011-03-15 | 3 | -83/+128 |
| | |\ \ \ \ \ | |||||
| | * | | | | | | [master] test build fixes | Jelte Jansen | 2011-03-15 | 5 | -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 Tatuya | 2011-03-15 | 3 | -1/+42 |
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | |||||
| | * | | | | | | [trac646] fixed a bug that a failure in finding one glue led to dropping all ↵ | JINMEI Tatuya | 2011-03-15 | 3 | -1/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | glues. | ||||
| * | | | | | | | Merge branch 'trac80' | JINMEI Tatuya | 2011-03-15 | 3 | -83/+128 |
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | |