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