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

Unified Diff: net/spdy/hpack/hpack_input_stream.h

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_huffman_table_test.cc ('k') | net/spdy/hpack/hpack_input_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_input_stream.h
diff --git a/net/spdy/hpack/hpack_input_stream.h b/net/spdy/hpack/hpack_input_stream.h
index b7ec8effa4749a562a7125cb91cd04455c4315c4..af26c94e062b90e38aa9315c75dfad58804e353c 100644
--- a/net/spdy/hpack/hpack_input_stream.h
+++ b/net/spdy/hpack/hpack_input_stream.h
@@ -34,9 +34,7 @@ class NET_EXPORT_PRIVATE HpackInputStream {
public:
friend class test::HpackInputStreamPeer;
- // |max_string_literal_size| is the largest that any one string
- // literal (header name or header value) can be.
- HpackInputStream(uint32_t max_string_literal_size, base::StringPiece buffer);
+ explicit HpackInputStream(base::StringPiece buffer);
~HpackInputStream();
// Returns whether or not there is more data to process.
@@ -92,7 +90,6 @@ class NET_EXPORT_PRIVATE HpackInputStream {
bool NeedMoreData() const;
private:
- const uint32_t max_string_literal_size_;
base::StringPiece buffer_;
size_t bit_offset_;
// Total number of bytes parsed successfully. Only get updated when an
« no previous file with comments | « net/spdy/hpack/hpack_huffman_table_test.cc ('k') | net/spdy/hpack/hpack_input_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698