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

Issue 2026593002: Remove limit on individual hpack string literals. (Closed)

Created:
4 years, 6 months ago by yinjie
Modified:
4 years, 6 months ago
Reviewers:
Bence
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

Remove limit on individual hpack string literals. We obviously want to bound the memory usage of hpack. http2 has an in-protocol mechanism for this: send SETTINGS_MAX_HEADER_LIST_SIZE to the peer with a suitable value. With the default 16 KB limit on header list size, the limit removed by this CL is redundant. If we ever increased the SETTINGS_MAX_HEADER_LIST_SIZE value then we are still limited to whatever we set that to. This CL lands server change 123307298 by rjshade. BUG=488484 Committed: https://crrev.com/dcc95a083eb44685b7b2566a8b00602dd1e7e299 Cr-Commit-Position: refs/heads/master@{#400716}

Patch Set 1 #

Patch Set 2 : Removed unused members. #

Patch Set 3 : Fix lint error. #

Total comments: 1

Patch Set 4 : Remove unused include. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -150 lines) Patch
M net/spdy/hpack/hpack_constants.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M net/spdy/hpack/hpack_decoder.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/hpack/hpack_decoder.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M net/spdy/hpack/hpack_decoder_test.cc View 1 8 chunks +7 lines, -10 lines 0 comments Download
M net/spdy/hpack/hpack_huffman_decoder.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M net/spdy/hpack/hpack_huffman_decoder.cc View 1 2 chunks +0 lines, -9 lines 0 comments Download
M net/spdy/hpack/hpack_huffman_decoder_test.cc View 1 4 chunks +8 lines, -43 lines 0 comments Download
M net/spdy/hpack/hpack_huffman_table_test.cc View 1 2 3 7 chunks +8 lines, -13 lines 0 comments Download
M net/spdy/hpack/hpack_input_stream.h View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M net/spdy/hpack/hpack_input_stream.cc View 1 3 chunks +4 lines, -14 lines 0 comments Download
M net/spdy/hpack/hpack_input_stream_test.cc View 1 22 chunks +22 lines, -46 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026593002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2026593002/1
4 years, 6 months ago (2016-05-30 18:11:13 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-30 20:06:05 UTC) #4
yinjie
4 years, 6 months ago (2016-05-30 20:06:23 UTC) #6
Bence
On 2016/05/30 20:06:23, yinjie wrote: Please also remove HpackDecoder::max_string_literal_size_ and HpackInputStream::max_string_literal_size_ members.
4 years, 6 months ago (2016-05-31 19:49:10 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026593002/20001
4 years, 6 months ago (2016-06-16 01:33:03 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/128107)
4 years, 6 months ago (2016-06-16 02:36:32 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026593002/40001
4 years, 6 months ago (2016-06-17 22:35:25 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-17 23:40:35 UTC) #15
yinjie
On 2016/06/17 23:40:35, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-17 23:41:37 UTC) #16
Bence
LGTM with nit. Thank you. https://codereview.chromium.org/2026593002/diff/40001/net/spdy/hpack/hpack_huffman_table_test.cc File net/spdy/hpack/hpack_huffman_table_test.cc (right): https://codereview.chromium.org/2026593002/diff/40001/net/spdy/hpack/hpack_huffman_table_test.cc#newcode10 net/spdy/hpack/hpack_huffman_table_test.cc:10: #include <limits> Please remove ...
4 years, 6 months ago (2016-06-20 12:02:36 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026593002/60001
4 years, 6 months ago (2016-06-20 16:17:56 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-20 17:36:10 UTC) #21
yinjie
On 2016/06/20 12:02:36, Bence wrote: > LGTM with nit. Thank you. > > https://codereview.chromium.org/2026593002/diff/40001/net/spdy/hpack/hpack_huffman_table_test.cc > ...
4 years, 6 months ago (2016-06-20 17:37:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026593002/60001
4 years, 6 months ago (2016-06-20 17:38:09 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-20 17:43:15 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 17:53:46 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dcc95a083eb44685b7b2566a8b00602dd1e7e299
Cr-Commit-Position: refs/heads/master@{#400716}

Powered by Google App Engine
This is Rietveld 408576698