nghttp: Add missing initialization Request::res_hdidx on res_nva.clear()

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-06 00:51:18 +09:00
parent d80952a2bc
commit b5796c6b96
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}