From cddb411495e44a9ba05b7d535af176e2680bb07c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 16 Jun 2016 00:57:26 +0900 Subject: [PATCH] nghttpx: Fix bug that backend never return to online --- src/shrpx_connect_blocker.cc | 2 ++ 1 file changed, 2 insertions(+) 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;