1. 16 Feb, 2011 1 commit
  2. 14 Feb, 2011 2 commits
    • Jelte Jansen's avatar
      [master] fix sunstudio build and distcheck · 756e56a8
      Jelte Jansen authored
      forgot an EXTRA_DIST for the distcheck, and sunstudio needs unistd to be included before asio.hpp
      756e56a8
    • 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)
      a151c4a6
  3. 11 Feb, 2011 2 commits
  4. 09 Feb, 2011 1 commit
  5. 07 Feb, 2011 3 commits
  6. 04 Feb, 2011 2 commits
  7. 03 Feb, 2011 1 commit
  8. 02 Feb, 2011 1 commit
    • Jelte Jansen's avatar
      [trac494] addressed review comments · 430e0e89
      Jelte Jansen authored
      Removed some dead code, added two unit tests, changed sendQuery() to the
      more descriptive resolve(), and removed a superfluous call to dlog()
      430e0e89
  9. 31 Jan, 2011 3 commits
    • Jelte Jansen's avatar
      [master] fixed linker issue on SunStudio · 6d9d7b76
      Jelte Jansen authored
      Apparently SunStudio's name mangler cannot handle the use of the typedef in the anonymous namespace in asiolink.cc. For now I have removed the offending use of it (the other instances where it was used were ok), we probably want to move it to a header and use it consistently. Much thanks to jinmei for pointing out the problem :)
      6d9d7b76
    • Jelte Jansen's avatar
      [trac494] remove 'Direct' callback holder · 92397738
      Jelte Jansen authored
      now that AbstractResolverCallback wqas removed, the 'direct' callback
      holder class is not necessary anymore (callers can derive from
      ResolverInterface::Callback now)
      92397738
    • Jelte Jansen's avatar
      [trac494] maka interface the same · d8a73201
      Jelte Jansen authored
      (so we can remove one of them)
      d8a73201
  10. 27 Jan, 2011 3 commits
  11. 26 Jan, 2011 1 commit
    • Jelte Jansen's avatar
      [trac494] initial abstraction for runningquery results · 8a175757
      Jelte Jansen authored
      Added a abstract placeholder for callbacks in asio (for now); which has
      two subclasses; one takes a DNSServer* and calls resume() on it when the
      runningquery finished its lookup (or fails), the other one is provided a
      callback as defined in isc::nsas::ResolverInterface.
      
      These are more objects that are newed while running and delete
      themselves, and they may not even be necessary, but for now this makes
      it work while doing the least amount of changes in other parts.
      
      RunnigQuery now takes one of these objects instead of a DNSServer*, and
      the objects decide what should be done once it is ready.
      
      Things to do:
      - remove the temporary MyCallback class from resolver (perhaps move it
        to a unittest)
      - move ResolverInterface out of nsas, as well as its Callback thingy,
        and merge it with the new callback holders
      - general cleanup and tests (although, as with current resolver tests,
        need framework to fake outside query handling)
      8a175757
  12. 25 Jan, 2011 3 commits
  13. 24 Jan, 2011 1 commit
  14. 22 Jan, 2011 2 commits
  15. 21 Jan, 2011 2 commits
    • JINMEI Tatuya's avatar
      cleanup: removed $Id$, which is useless now that we've migrated to git. · e3e59cf1
      JINMEI Tatuya authored
      briefly talked about it on jabber, no one opposed to it, Jeremy explicitly
      agreed.  changes are trivial themselves, so no explicit review.
      e3e59cf1
    • Jelte Jansen's avatar
      use the three types of timeout · 8f23ba4a
      Jelte Jansen authored
      Note that client_timeout at this point has the same result as
      lookup_timeout.
      
      Changed self-deletion of RunningQuery a bit, as it
      cannot delete itselfs until we are sure there are not events coming in
      anymore. If we change the clientTimeout() callback to send an answer and
      not stop, we shall need to keep track of that fact (i.e. not send back
      an answer in the end, and update stop since it won't be called by
      clientTimeout() anymore
      
      When adding the asiolink tests for these features, added a few
      convenience functions for common code in those tests.
      8f23ba4a
  16. 20 Jan, 2011 2 commits
  17. 18 Jan, 2011 5 commits
  18. 15 Jan, 2011 1 commit
  19. 13 Jan, 2011 1 commit
  20. 12 Jan, 2011 2 commits
  21. 06 Jan, 2011 1 commit