From ee4431344511886efc66395a38b9bf5dddd7151b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 11 Jun 2019 23:15:01 +0900 Subject: [PATCH] Fix FPE with default backend --- src/shrpx_config.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_config.cc b/src/shrpx_config.cc index a7e2f7cf..769ad9b8 100644 --- a/src/shrpx_config.cc +++ b/src/shrpx_config.cc @@ -3994,6 +3994,8 @@ int configure_downstream_group(Config *config, bool http2_proxy, addr.host = StringRef::from_lit(DEFAULT_DOWNSTREAM_HOST); addr.port = DEFAULT_DOWNSTREAM_PORT; addr.proto = Proto::HTTP1; + addr.weight = 1; + addr.group_weight = 1; DownstreamAddrGroupConfig g(StringRef::from_lit("/")); g.addrs.push_back(std::move(addr));