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

Side by Side Diff: net/quic/quic_protocol.h

Issue 1277753002: relnote: Close QUIC connections due to too many open streams earlier in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@format_fix_99250353
Patch Set: Created 5 years, 4 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/quic/quic_flags.cc ('k') | net/quic/quic_session.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <limits> 10 #include <limits>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 const size_t kPrivateFlagsSize = 1; 111 const size_t kPrivateFlagsSize = 1;
112 // Number of bytes reserved for FEC group in the packet header. 112 // Number of bytes reserved for FEC group in the packet header.
113 const size_t kFecGroupSize = 1; 113 const size_t kFecGroupSize = 1;
114 114
115 // Signifies that the QuicPacket will contain version of the protocol. 115 // Signifies that the QuicPacket will contain version of the protocol.
116 const bool kIncludeVersion = true; 116 const bool kIncludeVersion = true;
117 117
118 // Index of the first byte in a QUIC packet which is used in hash calculation. 118 // Index of the first byte in a QUIC packet which is used in hash calculation.
119 const size_t kStartOfHashData = 0; 119 const size_t kStartOfHashData = 0;
120 120
121 // Limit on the delta between stream IDs.
122 const QuicStreamId kMaxStreamIdDelta = 200;
123
124 // Reserved ID for the crypto stream. 121 // Reserved ID for the crypto stream.
125 const QuicStreamId kCryptoStreamId = 1; 122 const QuicStreamId kCryptoStreamId = 1;
126 123
127 // Reserved ID for the headers stream. 124 // Reserved ID for the headers stream.
128 const QuicStreamId kHeadersStreamId = 3; 125 const QuicStreamId kHeadersStreamId = 3;
129 126
130 // Maximum delayed ack time, in ms. 127 // Maximum delayed ack time, in ms.
131 const int64 kMaxDelayedAckTimeMs = 25; 128 const int64 kMaxDelayedAckTimeMs = 25;
132 129
133 // The timeout before the handshake succeeds. 130 // The timeout before the handshake succeeds.
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1096 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1100 1097
1101 const struct iovec* iov; 1098 const struct iovec* iov;
1102 const int iov_count; 1099 const int iov_count;
1103 const size_t total_length; 1100 const size_t total_length;
1104 }; 1101 };
1105 1102
1106 } // namespace net 1103 } // namespace net
1107 1104
1108 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1105 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698