- 11 Apr, 2011 1 commit
-
-
chenzhengzhang authored
-
- 25 Mar, 2011 1 commit
-
-
Jeremy C. Reed authored
-
- 17 Mar, 2011 8 commits
-
-
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
Copyright on this BIND 10 work from CZ.NOC belonfs to ISC.
-
Jelte Jansen authored
(reviewed on jabber)
-
Jelte Jansen authored
-
Jelte Jansen authored
-
- 16 Mar, 2011 12 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
-
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 18 commits
-
-
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
-
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.
-
Jelte Jansen authored
-
Jelte Jansen authored
-
zhanglikun authored
-
hanfeng authored
-
hanfeng authored
-
hanfeng authored
-
Jelte Jansen authored
(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)
-
zhanglikun authored
-
zhanglikun authored
-
JINMEI Tatuya authored
-