nghttpx: Fix bug that backend never return to online
This commit is contained in:
parent
92572203e7
commit
cddb411495
|
@ -112,6 +112,8 @@ void ConnectBlocker::offline() {
|
||||||
void ConnectBlocker::online() {
|
void ConnectBlocker::online() {
|
||||||
ev_timer_stop(loop_, &timer_);
|
ev_timer_stop(loop_, &timer_);
|
||||||
|
|
||||||
|
call_unblock_func();
|
||||||
|
|
||||||
fail_count_ = 0;
|
fail_count_ = 0;
|
||||||
|
|
||||||
offline_ = false;
|
offline_ = false;
|
||||||
|
|
Loading…
Reference in New Issue