Skip to content

Commit

Permalink
nghttp: Add missing initialization Request::res_hdidx on res_nva.clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Jan 5, 2015
1 parent d80952a commit b5796c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nghttp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,7 @@ void check_response_header(nghttp2_session *session, Request *req) {
req->expect_final_response = true;
req->status = 0;
req->res_nva.clear();
http2::init_hdidx(req->res_hdidx);
return;
}

Expand Down

0 comments on commit b5796c6

Please sign in to comment.