1. 11 Feb, 2011 3 commits
  2. 09 Feb, 2011 1 commit
  3. 07 Feb, 2011 3 commits
  4. 04 Feb, 2011 2 commits
  5. 03 Feb, 2011 4 commits
  6. 02 Feb, 2011 2 commits
  7. 01 Feb, 2011 4 commits
  8. 31 Jan, 2011 5 commits
  9. 27 Jan, 2011 4 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 5 commits
  12. 24 Jan, 2011 2 commits
  13. 22 Jan, 2011 2 commits
  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