libev/c-ares migration; fix lookup chains
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 2 Feb 2011 20:34:49 +0000 (21:34 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 2 Feb 2011 20:34:49 +0000 (21:34 +0100)
commitbc8ab5f710b4ab69d82522104aebe9e1629391cd
treef9967388a2c5dbf2c5841c41e016e7f5ebdcac69
parent92abe2ec552ee13a56e744dfb34fad5b7d785a24
libev/c-ares migration; fix lookup chains

  - use idle-watchers for unwinding the c-ares stack (thanks to Marc Lehmann for the hint)
  - use the generic c-ares query & parse logic instead of the integrated call; we need to first do the a then fall back to the aaaa request which the c-ares default one doesn't implement
  - stop the shutdown watchers when finalizing one client
citadel/event_client.c
citadel/event_client.h
citadel/modules/c-ares-dns/serv_c-ares-dns.c
citadel/modules/smtp/serv_smtpeventclient.c