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

Unified Diff: net/spdy/hpack/hpack_decoder.cc

Issue 2026593002: Remove limit on individual hpack string literals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused include. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/hpack/hpack_decoder.h ('k') | net/spdy/hpack/hpack_decoder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_decoder.cc
diff --git a/net/spdy/hpack/hpack_decoder.cc b/net/spdy/hpack/hpack_decoder.cc
index e8f3f263915178e6c62a78600d837d5a5aa43ed2..fac09b7af02f268dc31ad739fce2cd0da5934259 100644
--- a/net/spdy/hpack/hpack_decoder.cc
+++ b/net/spdy/hpack/hpack_decoder.cc
@@ -22,8 +22,7 @@ const char kCookieKey[] = "cookie";
} // namespace
HpackDecoder::HpackDecoder()
- : max_string_literal_size_(kDefaultMaxStringLiteralSize),
- handler_(nullptr),
+ : handler_(nullptr),
total_header_bytes_(0),
regular_header_seen_(false),
header_block_started_(false),
@@ -48,8 +47,7 @@ bool HpackDecoder::HandleControlFrameHeadersData(const char* headers_data,
// Parse as many data in buffer as possible. And remove the parsed data
// from buffer.
- HpackInputStream input_stream(max_string_literal_size_,
- headers_block_buffer_);
+ HpackInputStream input_stream(headers_block_buffer_);
// If this is the start of the header block, process table size updates.
if (!header_block_started_) {
« no previous file with comments | « net/spdy/hpack/hpack_decoder.h ('k') | net/spdy/hpack/hpack_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698