diff --git a/src/shrpx_connect_blocker.cc b/src/shrpx_connect_blocker.cc index df6026d2..29ab178d 100644 --- a/src/shrpx_connect_blocker.cc +++ b/src/shrpx_connect_blocker.cc @@ -112,6 +112,8 @@ void ConnectBlocker::offline() { void ConnectBlocker::online() { ev_timer_stop(loop_, &timer_); + call_unblock_func(); + fail_count_ = 0; offline_ = false;