nghttpx: Fix bug that DNS timeout was ignored
This commit is contained in:
parent
d70fefe72f
commit
a0779edec4
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue