diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-09 20:19:58 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-09 20:19:58 +0000 |
commit | abe1dbffa9010a51e0ffbd42dc0dab2d12dd718b (patch) | |
tree | aa3e42e7de1d6e0dc69578520ca85ec593a835e5 /net/spdy/spdy_framer.cc | |
parent | 27a04545deafe2be8846bd36ec262e5b3bb91bac (diff) | |
download | chromium_src-abe1dbffa9010a51e0ffbd42dc0dab2d12dd718b.zip chromium_src-abe1dbffa9010a51e0ffbd42dc0dab2d12dd718b.tar.gz chromium_src-abe1dbffa9010a51e0ffbd42dc0dab2d12dd718b.tar.bz2 |
Bump up the buffer limits for SpdyFramer.
This is a temporary hack until we merge SpdyFramer implementations. There are some sites which exceed our limits because their Set-Cookie headers are ginormous.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8198022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_framer.cc')
-rw-r--r-- | net/spdy/spdy_framer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_framer.cc b/net/spdy/spdy_framer.cc index 9c15170..963ae43 100644 --- a/net/spdy/spdy_framer.cc +++ b/net/spdy/spdy_framer.cc @@ -61,11 +61,11 @@ int SpdyFramer::spdy_version_ = kSpdyProtocolVersion; // The initial size of the control frame buffer; this is used internally // as we parse through control frames. (It is exposed here for unit test // purposes.) -size_t SpdyFramer::kControlFrameBufferInitialSize = 8 * 1024; +size_t SpdyFramer::kControlFrameBufferInitialSize = 32 * 1024; // The maximum size of the control frame buffer that we support. // TODO(mbelshe): We should make this stream-based so there are no limits. -size_t SpdyFramer::kControlFrameBufferMaxSize = 16 * 1024; +size_t SpdyFramer::kControlFrameBufferMaxSize = 64 * 1024; const SpdyStreamId SpdyFramer::kInvalidStream = -1; const size_t SpdyFramer::kHeaderDataChunkMaxSize = 1024; |