summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_framer_test.cc
diff options
context:
space:
mode:
authoragayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 14:16:27 +0000
committeragayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 14:16:27 +0000
commit5af3c573076a8f04c285d6a0c40237462375e7c5 (patch)
tree3161f03d9e617a1499a83c2413faa435682c10a7 /net/spdy/spdy_framer_test.cc
parent1442b29a275b076203b5e0a78206fe3feda3b739 (diff)
downloadchromium_src-5af3c573076a8f04c285d6a0c40237462375e7c5.zip
chromium_src-5af3c573076a8f04c285d6a0c40237462375e7c5.tar.gz
chromium_src-5af3c573076a8f04c285d6a0c40237462375e7c5.tar.bz2
Initial SPDY flow control support
BUG=48100 TEST=net_unittests --gtest_filter="SpdyProtocolTest.ControlFrameStructs:SpdyNetworkTransactionTest.WindowSizeChange:SpdyNetworkTransactionTest.WindowSizeOverflow" Contributed by: agayev@google.com Review URL: http://codereview.chromium.org/2805083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_framer_test.cc')
-rw-r--r--net/spdy/spdy_framer_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc
index 5791a67..4e976ab 100644
--- a/net/spdy/spdy_framer_test.cc
+++ b/net/spdy/spdy_framer_test.cc
@@ -1173,9 +1173,9 @@ TEST_F(SpdyFramerTest, CreateWindowUpdate) {
0x80, 0x01, 0x00, 0x09,
0x00, 0x00, 0x00, 0x08,
0x00, 0x00, 0x00, 0x01,
- 0x80, 0x00, 0x00, 0x00,
+ 0x7f, 0xff, 0xff, 0xff,
};
- scoped_ptr<SpdyFrame> frame(framer.CreateWindowUpdate(1, 0x80000000));
+ scoped_ptr<SpdyFrame> frame(framer.CreateWindowUpdate(1, 0x7FFFFFFF));
CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData));
}
}