nghttpx: Fix bug that DNS timeout was ignored

This commit is contained in:
Tatsuhiro Tsujikawa 2016-12-30 11:08:26 +09:00
parent d70fefe72f
commit a0779edec4
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ namespace {
void timeoutcb(struct ev_loop *loop, ev_timer *w, int revents) { void timeoutcb(struct ev_loop *loop, ev_timer *w, int revents) {
auto resolv = static_cast<DNSResolver *>(w->data); auto resolv = static_cast<DNSResolver *>(w->data);
resolv->on_timeout(); resolv->on_timeout();
process_result(resolv);
} }
} // namespace } // namespace