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

Side by Side Diff: net/quic/core/crypto/crypto_protocol.h

Issue 2512623002: Add connection option kSMHL indicating supporting SETTINGS_MAX_HEADER_LIST_SIZE. SETTINGS_MAX_HEADE… (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | net/quic/core/quic_client_session_base.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_CRYPTO_CRYPTO_PROTOCOL_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction. 100 const QuicTag kSSLR = TAG('S', 'S', 'L', 'R'); // Slow Start Large Reduction.
101 const QuicTag kNPRR = TAG('N', 'P', 'R', 'R'); // Pace at unity instead of PRR 101 const QuicTag kNPRR = TAG('N', 'P', 'R', 'R'); // Pace at unity instead of PRR
102 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs 102 const QuicTag k5RTO = TAG('5', 'R', 'T', 'O'); // Close connection on 5 RTOs
103 const QuicTag kCTIM = TAG('C', 'T', 'I', 'M'); // Client timestamp in seconds 103 const QuicTag kCTIM = TAG('C', 'T', 'I', 'M'); // Client timestamp in seconds
104 // since UNIX epoch. 104 // since UNIX epoch.
105 const QuicTag kDHDT = TAG('D', 'H', 'D', 'T'); // Disable HPACK dynamic table. 105 const QuicTag kDHDT = TAG('D', 'H', 'D', 'T'); // Disable HPACK dynamic table.
106 const QuicTag kCONH = TAG('C', 'O', 'N', 'H'); // Conservative Handshake 106 const QuicTag kCONH = TAG('C', 'O', 'N', 'H'); // Conservative Handshake
107 // Retransmissions. 107 // Retransmissions.
108 const QuicTag kLFAK = TAG('L', 'F', 'A', 'K'); // Don't invoke FACK on the 108 const QuicTag kLFAK = TAG('L', 'F', 'A', 'K'); // Don't invoke FACK on the
109 // first ack. 109 // first ack.
110 // TODO(fayang): Remove this connection option in QUIC_VERSION_37, in which
111 // MAX_HEADER_LIST_SIZE settings frame should be supported.
112 const QuicTag kSMHL = TAG('S', 'M', 'H', 'L'); // Support MAX_HEADER_LIST_SIZE
113 // settings frame.
110 114
111 // Optional support of truncated Connection IDs. If sent by a peer, the value 115 // Optional support of truncated Connection IDs. If sent by a peer, the value
112 // is the minimum number of bytes allowed for the connection ID sent to the 116 // is the minimum number of bytes allowed for the connection ID sent to the
113 // peer. 117 // peer.
114 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation. 118 const QuicTag kTCID = TAG('T', 'C', 'I', 'D'); // Connection ID truncation.
115 119
116 // Multipath option. 120 // Multipath option.
117 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath. 121 const QuicTag kMPTH = TAG('M', 'P', 'T', 'H'); // Enable multipath.
118 122
119 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection 123 const QuicTag kNCMR = TAG('N', 'C', 'M', 'R'); // Do not attempt connection
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // amplification factor of any mirror DoS attack. 250 // amplification factor of any mirror DoS attack.
247 // 251 //
248 // A client may pad an inchoate client hello to a size larger than 252 // A client may pad an inchoate client hello to a size larger than
249 // kClientHelloMinimumSize to make it more likely to receive a complete 253 // kClientHelloMinimumSize to make it more likely to receive a complete
250 // rejection message. 254 // rejection message.
251 const size_t kClientHelloMinimumSize = 1024; 255 const size_t kClientHelloMinimumSize = 1024;
252 256
253 } // namespace net 257 } // namespace net
254 258
255 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_ 259 #endif // NET_QUIC_CRYPTO_CRYPTO_PROTOCOL_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/core/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698