nghttpx: Fix runtime errors due to uninitialized values

This commit is contained in:
Tatsuhiro Tsujikawa 2014-01-29 00:59:12 +09:00
parent 4a56c0ae3d
commit ff475104ab
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ Downstream::Downstream(Upstream *upstream, int stream_id, int priority)
upstream_(upstream), upstream_(upstream),
dconn_(nullptr), dconn_(nullptr),
response_body_buf_(nullptr), response_body_buf_(nullptr),
request_headers_sum_(0),
response_headers_sum_(0),
stream_id_(stream_id), stream_id_(stream_id),
priority_(priority), priority_(priority),
downstream_stream_id_(-1), downstream_stream_id_(-1),