nghttpx: Reserve headers vector
This commit is contained in:
parent
ac41946533
commit
7755c2827c
|
@ -150,6 +150,9 @@ Downstream::Downstream(Upstream *upstream, MemchunkPool *mcpool,
|
||||||
|
|
||||||
http2::init_hdidx(request_hdidx_);
|
http2::init_hdidx(request_hdidx_);
|
||||||
http2::init_hdidx(response_hdidx_);
|
http2::init_hdidx(response_hdidx_);
|
||||||
|
|
||||||
|
request_headers_.reserve(16);
|
||||||
|
response_headers_.reserve(32);
|
||||||
}
|
}
|
||||||
|
|
||||||
Downstream::~Downstream() {
|
Downstream::~Downstream() {
|
||||||
|
|
Loading…
Reference in New Issue