| Index: net/spdy/spdy_framer_test.cc
|
| diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc
|
| index 9c3ec4585805fdcf907f901413f116396d2eec99..6ed219d0b2b081ed0911f939b489a9970fc4fe87 100644
|
| --- a/net/spdy/spdy_framer_test.cc
|
| +++ b/net/spdy/spdy_framer_test.cc
|
| @@ -1095,7 +1095,7 @@ TEST_P(SpdyFramerTest, Basic) {
|
| // SYN_STREAM doesn't exist in SPDY4, so instead we send
|
| // HEADERS frames with PRIORITY and END_HEADERS set.
|
| const unsigned char kV4Input[] = {
|
| - 0x00, 0x05, 0x01, 0x0c, // HEADERS: PRIORITY | END_HEADERS
|
| + 0x00, 0x05, 0x01, 0x24, // HEADERS: PRIORITY | END_HEADERS
|
| 0x00, 0x00, 0x00, 0x01, // Stream 1
|
| 0x00, 0x00, 0x00, 0x00, // Priority 0
|
| 0x82, // :method: GET
|
| @@ -1110,7 +1110,7 @@ TEST_P(SpdyFramerTest, Basic) {
|
| 0xde, 0xad, 0xbe, 0xef,
|
| 0xde, 0xad, 0xbe, 0xef,
|
|
|
| - 0x00, 0x05, 0x01, 0x0c, // HEADERS: PRIORITY | END_HEADERS
|
| + 0x00, 0x05, 0x01, 0x24, // HEADERS: PRIORITY | END_HEADERS
|
| 0x00, 0x00, 0x00, 0x03, // Stream 3
|
| 0x00, 0x00, 0x00, 0x00, // Priority 0
|
| 0x82, // :method: GET
|
| @@ -1230,7 +1230,7 @@ TEST_P(SpdyFramerTest, FinOnDataFrame) {
|
| // SYN_STREAM and SYN_REPLY don't exist in SPDY4, so instead we send
|
| // HEADERS frames with PRIORITY(SYN_STREAM only) and END_HEADERS set.
|
| const unsigned char kV4Input[] = {
|
| - 0x00, 0x05, 0x01, 0x0c, // HEADERS: PRIORITY | END_HEADERS
|
| + 0x00, 0x05, 0x01, 0x24, // HEADERS: PRIORITY | END_HEADERS
|
| 0x00, 0x00, 0x00, 0x01, // Stream 1
|
| 0x00, 0x00, 0x00, 0x00, // Priority 0
|
| 0x82, // :method: GET
|
| @@ -1316,7 +1316,7 @@ TEST_P(SpdyFramerTest, FinOnSynReplyFrame) {
|
| // SYN_STREAM and SYN_REPLY don't exist in SPDY4, so instead we send
|
| // HEADERS frames with PRIORITY(SYN_STREAM only) and END_HEADERS set.
|
| const unsigned char kV4Input[] = {
|
| - 0x00, 0x05, 0x01, 0x0c, // HEADERS: PRIORITY | END_HEADERS
|
| + 0x00, 0x05, 0x01, 0x24, // HEADERS: PRIORITY | END_HEADERS
|
| 0x00, 0x00, 0x00, 0x01, // Stream 1
|
| 0x00, 0x00, 0x00, 0x00, // Priority 0
|
| 0x82, // :method: GET
|
| @@ -1587,7 +1587,7 @@ TEST_P(SpdyFramerTest, CreateDataFrame) {
|
| };
|
|
|
| const unsigned char kV4FrameData[] = {
|
| - 0x01, 0x0b, 0x00, 0x30, // Length = 267. PAD_HIGH and PAD_LOW set.
|
| + 0x01, 0x0b, 0x00, 0x18, // Length = 267. PAD_HIGH and PAD_LOW set.
|
| 0x00, 0x00, 0x00, 0x01,
|
| 0x01, 0x04, // Pad Low and Pad High fields.
|
| 'h', 'e', 'l', 'l', // Data
|
| @@ -1648,7 +1648,7 @@ TEST_P(SpdyFramerTest, CreateDataFrame) {
|
| };
|
|
|
| const unsigned char kV4FrameData[] = {
|
| - 0x00, 0x0d, 0x00, 0x10, // Length = 13. PAD_LOW set.
|
| + 0x00, 0x0d, 0x00, 0x08, // Length = 13. PAD_LOW set.
|
| 0x00, 0x00, 0x00, 0x01,
|
| 0x07, // Pad Low field.
|
| 'h', 'e', 'l', 'l', // Data
|
| @@ -1682,7 +1682,7 @@ TEST_P(SpdyFramerTest, CreateDataFrame) {
|
| };
|
|
|
| const unsigned char kV4FrameData[] = {
|
| - 0x00, 0x06, 0x00, 0x10, // Length = 6. PAD_LOW set.
|
| + 0x00, 0x06, 0x00, 0x08, // Length = 6. PAD_LOW set.
|
| 0x00, 0x00, 0x00, 0x01,
|
| 0x00, // Pad Low field.
|
| 'h', 'e', 'l', 'l', // Data
|
| @@ -1876,7 +1876,7 @@ TEST_P(SpdyFramerTest, CreateSynStreamUncompressed) {
|
| 'a', 'r'
|
| };
|
| const unsigned char kV4FrameData[] = {
|
| - 0x00, 0x16, 0x01, 0x0c, // HEADERS: PRIORITY | END_HEADERS
|
| + 0x00, 0x16, 0x01, 0x24, // HEADERS: PRIORITY | END_HEADERS
|
| 0x00, 0x00, 0x00, 0x01, // Stream 1
|
| 0x00, 0x00, 0x00, 0x07, // Priority 7
|
| 0x00, 0x03, 0x62, 0x61, // @.ba
|
| @@ -1931,7 +1931,7 @@ TEST_P(SpdyFramerTest, CreateSynStreamUncompressed) {
|
| 'b', 'a', 'r'
|
| };
|
| const unsigned char kV4FrameData[] = {
|
| - 0x00, 0x13, 0x01, 0x0d, // HEADERS: PRIORITY | FIN | END_HEADERS
|
| + 0x00, 0x13, 0x01, 0x25, // HEADERS: PRIORITY | FIN | END_HEADERS
|
| 0x7f, 0xff, 0xff, 0xff, // Stream 0x7fffffff
|
| 0x00, 0x00, 0x00, 0x00, // Priority 0
|
| 0x00, 0x00, 0x03, 0x66, // @..f
|
| @@ -1988,7 +1988,7 @@ TEST_P(SpdyFramerTest, CreateSynStreamUncompressed) {
|
| 0x00, 0x00, 0x00
|
| };
|
| const unsigned char kV4FrameData[] = {
|
| - 0x00, 0x13, 0x01, 0x0d, // HEADERS: PRIORITY | FIN | END_HEADERS
|
| + 0x00, 0x13, 0x01, 0x25, // HEADERS: PRIORITY | FIN | END_HEADERS
|
| 0x7f, 0xff, 0xff, 0xff, // Stream 0x7fffffff
|
| 0x00, 0x00, 0x00, 0x01, // Priority 1
|
| 0x00, 0x03, 0x62, 0x61, // @.ba
|
|
|