From 5f5cf4107e334e6dfd244b8135a3c96f53910659 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 28 Apr 2017 22:31:09 +0900 Subject: [PATCH] nghttpx: Reseve rcbufs_ --- src/shrpx_downstream.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_downstream.cc b/src/shrpx_downstream.cc index afeee3e1..e4236e54 100644 --- a/src/shrpx_downstream.cc +++ b/src/shrpx_downstream.cc @@ -157,6 +157,8 @@ Downstream::Downstream(Upstream *upstream, MemchunkPool *mcpool, upstream_wtimer_.data = this; downstream_rtimer_.data = this; downstream_wtimer_.data = this; + + rcbufs_.reserve(32); } Downstream::~Downstream() {