summaryrefslogtreecommitdiffstats
path: root/net/tools/flip_server/spdy_interface.cc
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/tools/flip_server/spdy_interface.cc
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/tools/flip_server/spdy_interface.cc')
-rw-r--r--net/tools/flip_server/spdy_interface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tools/flip_server/spdy_interface.cc b/net/tools/flip_server/spdy_interface.cc
index 132544d..7d0edd0 100644
--- a/net/tools/flip_server/spdy_interface.cc
+++ b/net/tools/flip_server/spdy_interface.cc
@@ -10,6 +10,7 @@
#include "net/spdy/spdy_framer.h"
#include "net/spdy/spdy_protocol.h"
#include "net/tools/dump_cache/url_utilities.h"
+#include "net/tools/flip_server/constants.h"
#include "net/tools/flip_server/flip_config.h"
#include "net/tools/flip_server/http_interface.h"
#include "net/tools/flip_server/spdy_util.h"
@@ -488,8 +489,7 @@ void SpdySM::SendDataFrameImpl(uint32 stream_id, const char* data, int64 len,
VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Sending data frame "
<< stream_id << " [" << size << "] shrunk to "
- << (fdf->size() - SpdyFrame::kHeaderSize)
- << ", flags=" << flags;
+ << (fdf->size() - kSpdyOverhead) << ", flags=" << flags;
data += size;
len -= size;