From a909bb3eca222e4a65c001988a679b8f1ed51ef4 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 14 Mar 2016 23:47:29 +0900 Subject: [PATCH] nghttpx: Initialize proto field --- src/shrpx_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_config.h b/src/shrpx_config.h index ea442556..252d297d 100644 --- a/src/shrpx_config.h +++ b/src/shrpx_config.h @@ -301,7 +301,7 @@ struct DownstreamAddrConfig { struct DownstreamAddrGroupConfig { DownstreamAddrGroupConfig(const StringRef &pattern) - : pattern(pattern.c_str(), pattern.size()) {} + : pattern(pattern.c_str(), pattern.size()), proto(PROTO_HTTP1) {} ImmutableString pattern; std::vector addrs;