nghttpx: Fix bug that DNS timeout was ignored

This commit is contained in:
Tatsuhiro Tsujikawa 2016-12-30 11:08:26 +09:00
parent b52db072f1
commit db3a5f9aef
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) {
auto resolv = static_cast<DNSResolver *>(w->data);
resolv->on_timeout();
process_result(resolv);
}
} // namespace