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
|
} // namespace
|
||||||
|
|
||||||
DNSResolver::DNSResolver(struct ev_loop *loop)
|
DNSResolver::DNSResolver(struct ev_loop *loop)
|
||||||
: loop_(loop),
|
: result_{},
|
||||||
|
loop_(loop),
|
||||||
channel_(nullptr),
|
channel_(nullptr),
|
||||||
family_(AF_UNSPEC),
|
family_(AF_UNSPEC),
|
||||||
status_(DNS_STATUS_IDLE) {
|
status_(DNS_STATUS_IDLE) {
|
||||||
|
|
|
@ -175,6 +175,7 @@ HttpDownstreamConnection::HttpDownstreamConnection(
|
||||||
ssl_ctx_(worker->get_cl_ssl_ctx()),
|
ssl_ctx_(worker->get_cl_ssl_ctx()),
|
||||||
group_(group),
|
group_(group),
|
||||||
addr_(nullptr),
|
addr_(nullptr),
|
||||||
|
raddr_(nullptr),
|
||||||
ioctrl_(&conn_.rlimit),
|
ioctrl_(&conn_.rlimit),
|
||||||
response_htp_{0},
|
response_htp_{0},
|
||||||
initial_addr_idx_(initial_addr_idx) {}
|
initial_addr_idx_(initial_addr_idx) {}
|
||||||
|
|
Loading…
Reference in New Issue