nghttpx: Fix uninitialized errors found by coverity scan
This commit is contained in:
parent
02d34c8c4c
commit
0463928a1e
|
@ -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) {}
|
||||
|
|
Loading…
Reference in New Issue