1. 14 Feb, 2011 2 commits
    • Jelte Jansen's avatar
      [trac569] Move coroutine.h to ext/ · 5e357877
      Jelte Jansen authored
      and removed empty top level file
    • Jelte Jansen's avatar
      [trac569] split up udpdns.[h|cc] and tcpdns.[h|cc] too · a151c4a6
      Jelte Jansen authored
      and moved them out of internal. Changed the internal/ workaround (to prevent files outside of asiolink/ to indirectly include asio.hpp), the .cc files that include the relevant headers must include asio.hpp themselves (and this is checked in the headers)
      Also moved coroutine out of internal.
      Tests are still todo (which is why internal/ still exists)
  2. 27 Oct, 2010 1 commit
  3. 06 Oct, 2010 1 commit
  4. 30 Sep, 2010 2 commits
  5. 16 Sep, 2010 1 commit
  6. 15 Sep, 2010 1 commit
    • Evan Hunt's avatar
      Refactoring of the asio_link module as preparation for adding a resolver. · d09afbc6
      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:
      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