Fix FPE with default backend

This commit is contained in:
Tatsuhiro Tsujikawa 2019-06-11 23:15:01 +09:00
parent a3a14a9cde
commit bc886a0e0d
1 changed files with 2 additions and 0 deletions

View File

@ -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));