Commit 0463928a authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix uninitialized errors found by coverity scan

parent 02d34c8c
......@@ -112,7 +112,8 @@ void stop_ev(struct ev_loop *loop,
} // namespace
DNSResolver::DNSResolver(struct ev_loop *loop)
: loop_(loop),
: result_{},
loop_(loop),
channel_(nullptr),
family_(AF_UNSPEC),
status_(DNS_STATUS_IDLE) {
......
......@@ -175,6 +175,7 @@ HttpDownstreamConnection::HttpDownstreamConnection(
ssl_ctx_(worker->get_cl_ssl_ctx()),
group_(group),
addr_(nullptr),
raddr_(nullptr),
ioctrl_(&conn_.rlimit),
response_htp_{0},
initial_addr_idx_(initial_addr_idx) {}
......
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