nghttp: Add missing initialization Request::res_hdidx on res_nva.clear()
This commit is contained in:
parent
d80952a2bc
commit
b5796c6b96
|
@ -1758,6 +1758,7 @@ void check_response_header(nghttp2_session *session, Request *req) {
|
||||||
req->expect_final_response = true;
|
req->expect_final_response = true;
|
||||||
req->status = 0;
|
req->status = 0;
|
||||||
req->res_nva.clear();
|
req->res_nva.clear();
|
||||||
|
http2::init_hdidx(req->res_hdidx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue