nghttpx: Fix bug that backend never return to online

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-16 00:57:26 +09:00
parent 92572203e7
commit cddb411495
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ void ConnectBlocker::offline() {
void ConnectBlocker::online() {
ev_timer_stop(loop_, &timer_);
call_unblock_func();
fail_count_ = 0;
offline_ = false;