- 11 Apr, 2011 1 commit
-
-
chenzhengzhang authored
-
- 25 Mar, 2011 1 commit
-
-
Jeremy C. Reed authored
-
- 17 Mar, 2011 13 commits
-
-
JINMEI Tatuya authored
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.
-
Shane Kerr authored
-
Jeremy C. Reed authored
I didn't test yet, but was missing and I see the distcheck autobuilder had problem related to this.
-
Jelte Jansen authored
- 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
-
Jeremy C. Reed authored
-
Jeremy C. Reed authored
-
Jeremy C. Reed authored
-
Jeremy C. Reed authored
Copyright on this BIND 10 work from CZ.NOC belonfs to ISC.
-
Jelte Jansen authored
(reviewed on jabber)
-
Jelte Jansen authored
-
Jelte Jansen authored
-
Jelte Jansen authored
-
chenzhengzhang authored
-
- 16 Mar, 2011 13 commits
-
-
Jelte Jansen authored
-
Michal 'vorner' Vaner authored
-
Stephen Morris authored
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.
-
Jelte Jansen authored
-
Jelte Jansen authored
If so, for now treat these as a timeout and resend if there are retries left, fail otherwise
-
Jelte Jansen authored
-
hanfeng authored
-
hanfeng authored
-
Stephen Morris authored
-
Shane Kerr authored
-
Jelte Jansen authored
-
Michal 'vorner' Vaner authored
.stop() followed directly by .reset() doesn't work. It seems asio has a "can run" boolean variable, stop sets it to false, reset to true, so if they are both called from inside the .run() main loop, it does nothing.
-
hanfeng authored
-
- 15 Mar, 2011 12 commits
-
-
JINMEI Tatuya authored
Without this it cannot use privileged port (most commonly 53) while changing the run time user (-u). Confirmed the fix, and okayed on jabber. I won't update changelog for this fix because it's a regression after the previous release.
-
Stephen Morris authored
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.
-
Stephen Morris authored
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.
-
Stephen Morris authored
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.
-
Jelte Jansen authored
- need stdlib.h for random() - need return even after assert() - cppcheck mentioned a few args that could be passed by reference
-
Stephen Morris authored
... to make it easier to comment out sets of tests for debugging.
-
Jelte Jansen authored
Added an option to tcpSendReturnTest that makes it not send all data, resulting in a timeout
-
Shane Kerr authored
-
Jelte Jansen authored
-
Stephen Morris authored
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.
-
Shane Kerr authored
BIND 10 server. Far better suited as a unit test.
-
Jelte Jansen authored
-