From b5796c6b963928a865a8591b0cb50f551f8e2545 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 6 Jan 2015 00:51:18 +0900 Subject: [PATCH] nghttp: Add missing initialization Request::res_hdidx on res_nva.clear() --- src/nghttp.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nghttp.cc b/src/nghttp.cc index 0852d804..68f1cd2f 100644 --- a/src/nghttp.cc +++ b/src/nghttp.cc @@ -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; }