nghttpx: Remove shrinking memchunks for now

It requires more careful optimization.  Remove it for now.
This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-28 21:25:22 +09:00
parent 96e66b1a81
commit 8ddad1a53d
2 changed files with 0 additions and 6 deletions

View File

@ -1168,9 +1168,6 @@ void Http2Upstream::remove_downstream(Downstream *downstream) {
if (next_downstream) { if (next_downstream) {
initiate_downstream(std::move(next_downstream)); initiate_downstream(std::move(next_downstream));
} }
mcpool_.shrink((downstream_queue_.get_active_downstreams().size() + 1) *
65536);
} }
Downstream *Http2Upstream::find_downstream(int32_t stream_id) { Downstream *Http2Upstream::find_downstream(int32_t stream_id) {

View File

@ -811,9 +811,6 @@ void SpdyUpstream::remove_downstream(Downstream *downstream) {
if (next_downstream) { if (next_downstream) {
initiate_downstream(std::move(next_downstream)); initiate_downstream(std::move(next_downstream));
} }
mcpool_.shrink((downstream_queue_.get_active_downstreams().size() + 1) *
65536);
} }
Downstream *SpdyUpstream::find_downstream(int32_t stream_id) { Downstream *SpdyUpstream::find_downstream(int32_t stream_id) {