Commit fbb22805 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix uninitialized dnf fields

parent 9bda8e26
...@@ -541,6 +541,7 @@ struct DownstreamAddrGroupConfig { ...@@ -541,6 +541,7 @@ struct DownstreamAddrGroupConfig {
: pattern(pattern), : pattern(pattern),
affinity{SessionAffinity::NONE}, affinity{SessionAffinity::NONE},
redirect_if_not_tls(false), redirect_if_not_tls(false),
dnf{false},
timeout{} {} timeout{} {}
StringRef pattern; StringRef pattern;
......
...@@ -198,6 +198,7 @@ struct SharedDownstreamAddr { ...@@ -198,6 +198,7 @@ struct SharedDownstreamAddr {
: balloc(1024, 1024), : balloc(1024, 1024),
affinity{SessionAffinity::NONE}, affinity{SessionAffinity::NONE},
redirect_if_not_tls{false}, redirect_if_not_tls{false},
dnf{false},
timeout{} {} timeout{} {}
SharedDownstreamAddr(const SharedDownstreamAddr &) = delete; SharedDownstreamAddr(const SharedDownstreamAddr &) = delete;
......
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