summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 23:42:18 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 23:42:18 +0000
commiteb566e515885a255f1b69962e9590e5cff0e6e4f (patch)
tree7aac9a23bacb8a43cb1cb7135e08eebc4af847ec /net/spdy/spdy_session.h
parent99777cb474959a77eab84e9b24feda3f613c3b18 (diff)
downloadchromium_src-eb566e515885a255f1b69962e9590e5cff0e6e4f.zip
chromium_src-eb566e515885a255f1b69962e9590e5cff0e6e4f.tar.gz
chromium_src-eb566e515885a255f1b69962e9590e5cff0e6e4f.tar.bz2
Overhaul of how SPDY frame headers are written, useful for SPDY 4 development.
Also gets rid of SpdyFrame::kHeaderSize. This lands server change 42903918. Review URL: https://codereview.chromium.org/12313087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r--net/spdy/spdy_session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index 8926235..750f876 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -38,7 +38,8 @@ namespace net {
// somewhat arbitrary, but is reasonably small and ensures that we elicit
// ACKs quickly from TCP (because TCP tries to only ACK every other packet).
const int kMss = 1430;
-const int kMaxSpdyFrameChunkSize = (2 * kMss) - SpdyFrame::kHeaderSize;
+// The 8 is the size of the SPDY frame header.
+const int kMaxSpdyFrameChunkSize = (2 * kMss) - 8;
// Specifies the maxiumum concurrent streams server could send (via push).
const int kMaxConcurrentPushedStreams = 1000;