projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add error handler for failing DNS requests; the Client should be able to take its...
[citadel.git]
/
citadel
/
event_client.c
diff --git
a/citadel/event_client.c
b/citadel/event_client.c
index a265f30bedcc648530eb38469505a3def284c21c..f1abcbef7ff9396550809c03be7b3af22edec87e 100644
(file)
--- a/
citadel/event_client.c
+++ b/
citadel/event_client.c
@@
-591,11
+591,11
@@
IO_postdns_callback(struct ev_loop *loop, ev_idle *watcher, int revents)
AsyncIO *IO = watcher->data;
syslog(LOG_DEBUG, "event: %s\n", __FUNCTION__);
become_session(IO->CitContext);
-
+ assert(IO->DNSFail);
switch (IO->DNSQuery->PostDNS(IO))
{
case eAbort:
-
ShutDownCLient
(IO);
+
IO->DNSFail
(IO);
default:
break;
}