1. 24 Feb, 2011 1 commit
  2. 18 Feb, 2011 1 commit
    • Stephen Morris's avatar
      [trac554] Added IOFetch · 85b6fa72
      Stephen Morris authored
      IOFetch is a general upstream "fetch" class that should be able to
      operate over TCP or UDP.  Related changes have been made in the
      associated classes.  So far, only the unit tests for a UDP fetch
      have been made (and passed).
      85b6fa72
  3. 15 Feb, 2011 1 commit
  4. 14 Feb, 2011 2 commits
  5. 11 Feb, 2011 1 commit
  6. 09 Feb, 2011 1 commit
  7. 02 Feb, 2011 2 commits
  8. 31 Jan, 2011 2 commits
  9. 27 Jan, 2011 2 commits
  10. 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
  11. 25 Jan, 2011 3 commits
  12. 24 Jan, 2011 1 commit
  13. 22 Jan, 2011 1 commit
  14. 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
  15. 18 Jan, 2011 2 commits
  16. 15 Jan, 2011 2 commits
  17. 14 Jan, 2011 1 commit
  18. 03 Jan, 2011 1 commit
  19. 29 Dec, 2010 1 commit
  20. 25 Dec, 2010 1 commit
  21. 13 Dec, 2010 1 commit
  22. 03 Nov, 2010 1 commit
  23. 02 Nov, 2010 1 commit
  24. 01 Nov, 2010 1 commit
  25. 23 Oct, 2010 2 commits
  26. 22 Oct, 2010 1 commit
  27. 21 Oct, 2010 3 commits
  28. 11 Oct, 2010 1 commit
    • Evan Hunt's avatar
      Addressed some review comments, including: · f0f818b2
      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
      f0f818b2