Commit ee443134 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix FPE with default backend

parent abef9b90
...@@ -3994,6 +3994,8 @@ int configure_downstream_group(Config *config, bool http2_proxy, ...@@ -3994,6 +3994,8 @@ int configure_downstream_group(Config *config, bool http2_proxy,
addr.host = StringRef::from_lit(DEFAULT_DOWNSTREAM_HOST); addr.host = StringRef::from_lit(DEFAULT_DOWNSTREAM_HOST);
addr.port = DEFAULT_DOWNSTREAM_PORT; addr.port = DEFAULT_DOWNSTREAM_PORT;
addr.proto = Proto::HTTP1; addr.proto = Proto::HTTP1;
addr.weight = 1;
addr.group_weight = 1;
DownstreamAddrGroupConfig g(StringRef::from_lit("/")); DownstreamAddrGroupConfig g(StringRef::from_lit("/"));
g.addrs.push_back(std::move(addr)); g.addrs.push_back(std::move(addr));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment