nghttpx: Initialize proto field
This commit is contained in:
parent
aaebeceded
commit
a909bb3eca
|
@ -301,7 +301,7 @@ struct DownstreamAddrConfig {
|
||||||
|
|
||||||
struct DownstreamAddrGroupConfig {
|
struct DownstreamAddrGroupConfig {
|
||||||
DownstreamAddrGroupConfig(const StringRef &pattern)
|
DownstreamAddrGroupConfig(const StringRef &pattern)
|
||||||
: pattern(pattern.c_str(), pattern.size()) {}
|
: pattern(pattern.c_str(), pattern.size()), proto(PROTO_HTTP1) {}
|
||||||
|
|
||||||
ImmutableString pattern;
|
ImmutableString pattern;
|
||||||
std::vector<DownstreamAddrConfig> addrs;
|
std::vector<DownstreamAddrConfig> addrs;
|
||||||
|
|
Loading…
Reference in New Issue