nghttpx: Reseve rcbufs_

This commit is contained in:
Tatsuhiro Tsujikawa 2017-04-28 22:31:09 +09:00
parent 58043a6b04
commit 5f5cf4107e
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ Downstream::Downstream(Upstream *upstream, MemchunkPool *mcpool,
upstream_wtimer_.data = this; upstream_wtimer_.data = this;
downstream_rtimer_.data = this; downstream_rtimer_.data = this;
downstream_wtimer_.data = this; downstream_wtimer_.data = this;
rcbufs_.reserve(32);
} }
Downstream::~Downstream() { Downstream::~Downstream() {