- 18 Oct, 2010 1 commit
-
-
Evan Hunt authored
- moved createRequestMessage() into unittest_utils - added more bogus-address tests in asiolink unit test - added tests with IPv4-mapped IPv6 addresses, but disabled because v4-mapped addresses don't work on my test systems - added documentation for asiolink test helper functions - moved MockSession, MockServer, etc from auth/recurse unit tests into a single external mockups.h to reduce code duplication git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3264 e5f2f494-b856-4b98-b285-d166d9295462
-
- 11 Oct, 2010 1 commit
-
-
Evan Hunt authored
- added diagrams to asiolink documentation - eliminated improper error return in TCPServer operator() - moved UDPEndpoint, TCPEndpoint, UDPSOcket, TCPSOcket implementation code into internal/udpdns.h and internal/tcpdns.h - RecursiveQuery ns_addr_ member now an IOAddress rather than asio address - add method headers in recursor.h and auth_srv.h - change asio_link unittest name to asiolink git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3177 e5f2f494-b856-4b98-b285-d166d9295462
-
- 09 Oct, 2010 1 commit
-
-
Evan Hunt authored
asiolink.cc are now in multiple files (ioaddress.h, iosocket.h, etc). Also removed some shared_ptr's that weren't really needed in tcpdns and udpdns. This work isn't done yet, but committing now to simplify the review a bit. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3150 e5f2f494-b856-4b98-b285-d166d9295462
-
- 06 Oct, 2010 4 commits
-
-
Evan Hunt authored
query send. More work is needed here. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3128 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3127 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3126 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3125 e5f2f494-b856-4b98-b285-d166d9295462
-
- 05 Oct, 2010 1 commit
-
-
Evan Hunt authored
variable names and class names. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3115 e5f2f494-b856-4b98-b285-d166d9295462
-
- 03 Oct, 2010 2 commits
-
-
Evan Hunt authored
use the "-f nameserver" option to the bind10 boss script (eventually that will have to be a config system option). This can currently only send upstream queries via UDP, without any niceties like EDNS0, DNSSEC, checking for QID match, etc. Also, still very poorly documented. More to come... git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3108 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3107 e5f2f494-b856-4b98-b285-d166d9295462
-
- 30 Sep, 2010 4 commits
-
-
Evan Hunt authored
DNS lookup calls can now be asynchronous, calling back into the UDPServer or TCPServer coroutine that originated them via io_service::post(). git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3084 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3083 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
now defined in tcpdns.cc and udpdns.cc respectively. Their associated header files are in the "internal" subdirectory (which is to be used for include files that define internal-only API that isn't intended to be exposed publicly). coroutine.h has also been moved there. Eliminated yield.h; the reenter, fork and yield psuedo-keywords are gone in favor of CORO_REENTER, CORO_FORK and CORO_YIELD. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3082 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
(getPort(), getFamily(), getProtocol()) to IOEndpoint and IOAddress classes. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3081 e5f2f494-b856-4b98-b285-d166d9295462
-
- 17 Sep, 2010 1 commit
-
-
Evan Hunt authored
to datasrc, xfrin, xfrout and so on removed. This is simply the client-facing side of a name server; it can receive and send packets but can't process them in any way yet. It will become a simple forwarder, and then a proper resolver, in future work. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@2958 e5f2f494-b856-4b98-b285-d166d9295462
-
- 16 Sep, 2010 2 commits
-
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@2957 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
src/lib/asiolink. No changes to the code itself have been made except for the purely cosmetic one of changing the namespace and filenames from "asio_link" to "asiolink". git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@2953 e5f2f494-b856-4b98-b285-d166d9295462
-
- 15 Sep, 2010 1 commit
-
-
Evan Hunt authored
1) The asio_link object no longer directly depends on AuthSrv*; instead the caller must provide a pair of callback objects, CheckinProvider and DNSProvider, which are called at appropriate times to check for outstanding configuration messages and to process a DNS message. 2) In hopes of making it less painful to write the ASIO handlers when we add the code to send requests to upstream authoritative servers, I rewrote the TCPServer and UDPServer classes to use the "stackless coroutine" pattern described at: http://blog.think-async.com/2010/03/potted-guide-to-stackless-coroutines.html The resulting ASIO code should be functionally identical to the previous code, but it is shorter and (IMHO) easier to read: instead of several different asynchronous response handlers, there's a single function for TCP and another for UDP, and the I/O operations are all laid out in logical order. Next step will be to move asio_link into src/lib, but I'm leaving it here for now to make it easier to read the diff. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@2934 e5f2f494-b856-4b98-b285-d166d9295462
-
- 08 Sep, 2010 3 commits
-
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@2876 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Also alphabetize the configurations while here. (no review, is minor) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2873 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2866 e5f2f494-b856-4b98-b285-d166d9295462
-
- 07 Sep, 2010 1 commit
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2858 e5f2f494-b856-4b98-b285-d166d9295462
-
- 04 Sep, 2010 1 commit
-
-
JINMEI Tatuya authored
(should be sufficiently trivial) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2850 e5f2f494-b856-4b98-b285-d166d9295462
-
- 28 Aug, 2010 1 commit
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2844 e5f2f494-b856-4b98-b285-d166d9295462
-
- 27 Aug, 2010 2 commits
-
-
Jelte Jansen authored
remove the TEST_SOCKET_FILE at the end of the test that makes it (just a bit of cleanup, no ticket, reviewed by shane) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2828 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
exists in the same build directory. This fixes the dependency ordering noticed when building with make -j (multiple jobs). I tested with distcheck and AM_MAKEFLAGS=-j8 and also confirmed by vorner (who first reported build problem). I will make an autobuild use this (but not too frequent). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2826 e5f2f494-b856-4b98-b285-d166d9295462
-
- 26 Aug, 2010 1 commit
-
-
Jeremy C. Reed authored
(other than the top level). This were probably created by doing merges within specific directories or for specific files. This should make it less noisy on later merges (when done from top level, i.e. trunk). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2810 e5f2f494-b856-4b98-b285-d166d9295462
-
- 25 Aug, 2010 9 commits
-
-
JINMEI Tatuya authored
should be trivial enough, so skipping review. also made a minor editorial change: remove a redundant semi-colon after a block git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2806 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2804 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2803 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
avoid copying ModuleSpec in getModuleSpec() by returning a reference to it instead of returning a full object. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac310@2802 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac310@2801 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac310@2800 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
instead of continuing to next test script. For ticket #316: "make check continues even if check-local intermediate test case fails" Merged from branches/trac316. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2799 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac316@2798 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac316@2797 e5f2f494-b856-4b98-b285-d166d9295462
-
- 24 Aug, 2010 3 commits
-
-
JINMEI Tatuya authored
it looks like the code compiles with the stricter warning levels without modification, so I'm directly commiting it to trunk. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2793 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
this change does not appear to me to need a review, so I am committing this directly git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2790 e5f2f494-b856-4b98-b285-d166d9295462
-
Jerry authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2789 e5f2f494-b856-4b98-b285-d166d9295462
-
- 23 Aug, 2010 1 commit
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2788 e5f2f494-b856-4b98-b285-d166d9295462
-