nghttpx: Fix uninitialized dnf fields

This commit is contained in:
Tatsuhiro Tsujikawa 2021-09-06 00:12:04 +09:00
parent 9bda8e266e
commit fbb228050a
2 changed files with 2 additions and 0 deletions

View File

@ -541,6 +541,7 @@ struct DownstreamAddrGroupConfig {
: pattern(pattern),
affinity{SessionAffinity::NONE},
redirect_if_not_tls(false),
dnf{false},
timeout{} {}
StringRef pattern;

View File

@ -198,6 +198,7 @@ struct SharedDownstreamAddr {
: balloc(1024, 1024),
affinity{SessionAffinity::NONE},
redirect_if_not_tls{false},
dnf{false},
timeout{} {}
SharedDownstreamAddr(const SharedDownstreamAddr &) = delete;