diff options
author | jgraettinger@chromium.org <jgraettinger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 05:55:42 +0000 |
---|---|---|
committer | jgraettinger@chromium.org <jgraettinger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 05:55:42 +0000 |
commit | e3352df2a6cd878f3db12f405bcacbce4c0dee6e (patch) | |
tree | 51eb2ecbbfae4d37e08f9989068467c0dcf77023 /net/quic | |
parent | c4432939ffbacd0b7aedded5ecb604a366c2310e (diff) | |
download | chromium_src-e3352df2a6cd878f3db12f405bcacbce4c0dee6e.zip chromium_src-e3352df2a6cd878f3db12f405bcacbce4c0dee6e.tar.gz chromium_src-e3352df2a6cd878f3db12f405bcacbce4c0dee6e.tar.bz2 |
SpdyFramer now uses HPACK for SPDY4 headers (re-apply)
SpdyFramer defers calling OnControlFrameHeadersData() until the entire HPACK
headers block has been decoded. At that point, the block is re-encoded to
legacy SPDY3 format and passed to the visitor.
This is a temporary measure suitable for testing only, intended to allow
a decoupled switch to HPACK prior to being fully wired for
SpdyHeadersHandlerInterface.
This lands server change 62461978 by jgraettinger.
BUG=339578
Review URL: https://codereview.chromium.org/201373002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic')
-rw-r--r-- | net/quic/spdy_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/quic/spdy_utils.cc b/net/quic/spdy_utils.cc index 12bdca9..350819e 100644 --- a/net/quic/spdy_utils.cc +++ b/net/quic/spdy_utils.cc @@ -15,7 +15,7 @@ namespace net { // static string SpdyUtils::SerializeUncompressedHeaders(const SpdyHeaderBlock& headers) { - int length = SpdyFramer::GetSerializedLength(SPDY3, &headers, true); + int length = SpdyFramer::GetSerializedLength(SPDY3, &headers); SpdyFrameBuilder builder(length); SpdyFramer::WriteHeaderBlock(&builder, SPDY3, &headers); scoped_ptr<SpdyFrame> block(builder.take()); |