Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Side by Side Diff: net/spdy/spdy_protocol.h

Issue 2852029: Revert "Streams send a Rst frame upon being closed by client. Some minor editorial fixes." (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains some protocol structures for use with Spdy. 5 // This file contains some protocol structures for use with Spdy.
6 6
7 #ifndef NET_SPDY_SPDY_PROTOCOL_H_ 7 #ifndef NET_SPDY_SPDY_PROTOCOL_H_
8 #define NET_SPDY_SPDY_PROTOCOL_H_ 8 #define NET_SPDY_SPDY_PROTOCOL_H_
9 9
10 #ifdef WIN32 10 #ifdef WIN32
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // +----------------------------------+ 56 // +----------------------------------+
57 // |X| Stream-ID(31bits) | 57 // |X| Stream-ID(31bits) |
58 // +----------------------------------+ 58 // +----------------------------------+
59 // | unused (16 bits)| Length (16bits)| 59 // | unused (16 bits)| Length (16bits)|
60 // +----------------------------------+ 60 // +----------------------------------+
61 // 61 //
62 // Control Frame: RST_STREAM 62 // Control Frame: RST_STREAM
63 // +----------------------------------+ 63 // +----------------------------------+
64 // |1|000000000000001|0000000000000011| 64 // |1|000000000000001|0000000000000011|
65 // +----------------------------------+ 65 // +----------------------------------+
66 // | flags (8) | Length (24 bits) | >= 8 66 // | flags (8) | Length (24 bits) | >= 4
67 // +----------------------------------+ 67 // +----------------------------------+
68 // |X| Stream-ID(31bits) | 68 // |X| Stream-ID(31bits) |
69 // +----------------------------------+ 69 // +----------------------------------+
70 // | Status code (32 bits) | 70 // | Status code (32 bits) |
71 // +----------------------------------+ 71 // +----------------------------------+
72 // 72 //
73 // Control Frame: SETTINGS 73 // Control Frame: SETTINGS
74 // +----------------------------------+ 74 // +----------------------------------+
75 // |1|000000000000001|0000000000000100| 75 // |1|000000000000001|0000000000000100|
76 // +----------------------------------+ 76 // +----------------------------------+
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 } 590 }
591 struct SpdySettingsControlFrameBlock* mutable_block() { 591 struct SpdySettingsControlFrameBlock* mutable_block() {
592 return static_cast<SpdySettingsControlFrameBlock*>(frame_); 592 return static_cast<SpdySettingsControlFrameBlock*>(frame_);
593 } 593 }
594 DISALLOW_COPY_AND_ASSIGN(SpdySettingsControlFrame); 594 DISALLOW_COPY_AND_ASSIGN(SpdySettingsControlFrame);
595 }; 595 };
596 596
597 } // namespace spdy 597 } // namespace spdy
598 598
599 #endif // NET_SPDY_SPDY_PROTOCOL_H_ 599 #endif // NET_SPDY_SPDY_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698