Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Issue 1566703002: Increase HTTP/2 response header buffer limit to 256 kB. (Closed)

Created:
4 years, 11 months ago by Bence
Modified:
4 years, 11 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Increase HTTP/2 response header buffer limit to 256 kB. Allow response headers up to 256 kB to be processed when speaking HTTP/2 (increased from earlier 32 kB limit). Instead of allocating a 256 kB buffer at once, start with a 8 kB buffer and grow exponentially to limit memory usage. Also increase string literal (header key and value) limit to 256 kB (from earlier 16 kB limit). BUG=535629 Committed: https://crrev.com/d6738334bdb481e0c5d0303269c55049a904773e Cr-Commit-Position: refs/heads/master@{#368442}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Re: #3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -19 lines) Patch
M net/spdy/buffered_spdy_framer.h View 1 chunk +1 line, -5 lines 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 1 5 chunks +20 lines, -12 lines 0 comments Download
M net/spdy/hpack/hpack_constants.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Bence
Ryan: PTAL. Thanks.
4 years, 11 months ago (2016-01-07 12:08:14 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/1566703002/diff/1/net/spdy/buffered_spdy_framer.cc File net/spdy/buffered_spdy_framer.cc (right): https://codereview.chromium.org/1566703002/diff/1/net/spdy/buffered_spdy_framer.cc#newcode48 net/spdy/buffered_spdy_framer.cc:48: header_buffer_.clear(); Does this do anything since the buffer was ...
4 years, 11 months ago (2016-01-08 00:16:30 UTC) #3
Bence
Ryan: PTAL. Thanks. https://codereview.chromium.org/1566703002/diff/1/net/spdy/buffered_spdy_framer.cc File net/spdy/buffered_spdy_framer.cc (right): https://codereview.chromium.org/1566703002/diff/1/net/spdy/buffered_spdy_framer.cc#newcode48 net/spdy/buffered_spdy_framer.cc:48: header_buffer_.clear(); On 2016/01/08 00:16:29, Ryan Hamilton ...
4 years, 11 months ago (2016-01-08 18:58:24 UTC) #4
Ryan Hamilton
lgtm https://codereview.chromium.org/1566703002/diff/1/net/spdy/buffered_spdy_framer.cc File net/spdy/buffered_spdy_framer.cc (right): https://codereview.chromium.org/1566703002/diff/1/net/spdy/buffered_spdy_framer.cc#newcode187 net/spdy/buffered_spdy_framer.cc:187: size_t new_capacity = std::max(new_size, kHeaderBufferInitialSize); On 2016/01/08 18:58:24, ...
4 years, 11 months ago (2016-01-08 21:20:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566703002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566703002/20001
4 years, 11 months ago (2016-01-08 21:50:30 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-08 21:58:49 UTC) #8
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 22:00:57 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d6738334bdb481e0c5d0303269c55049a904773e
Cr-Commit-Position: refs/heads/master@{#368442}

Powered by Google App Engine
This is Rietveld 408576698