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

Side by Side Diff: net/quic/crypto/quic_crypto_server_config.h

Issue 1404523004: relnote: Check QUIC handshake reject_reasons to decide whether to send (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Create_Quic_version_28_103943396
Patch Set: Created 5 years, 2 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 | « no previous file | net/quic/crypto/quic_crypto_server_config.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_QUIC_CRYPTO_SERVER_CONFIG_H_ 5 #ifndef NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ 6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 struct ClientHelloInfo { 43 struct ClientHelloInfo {
44 ClientHelloInfo(const IPAddressNumber& in_client_ip, QuicWallTime in_now); 44 ClientHelloInfo(const IPAddressNumber& in_client_ip, QuicWallTime in_now);
45 ~ClientHelloInfo(); 45 ~ClientHelloInfo();
46 46
47 // Inputs to EvaluateClientHello. 47 // Inputs to EvaluateClientHello.
48 const IPAddressNumber client_ip; 48 const IPAddressNumber client_ip;
49 const QuicWallTime now; 49 const QuicWallTime now;
50 50
51 // Outputs from EvaluateClientHello. 51 // Outputs from EvaluateClientHello.
52 bool valid_source_address_token; 52 bool valid_source_address_token;
53 bool client_nonce_well_formed;
54 bool unique;
55 base::StringPiece sni; 53 base::StringPiece sni;
56 base::StringPiece client_nonce; 54 base::StringPiece client_nonce;
57 base::StringPiece server_nonce; 55 base::StringPiece server_nonce;
58 base::StringPiece user_agent_id; 56 base::StringPiece user_agent_id;
59 SourceAddressTokens source_address_tokens; 57 SourceAddressTokens source_address_tokens;
60 58
61 // Errors from EvaluateClientHello. 59 // Errors from EvaluateClientHello.
62 std::vector<uint32> reject_reasons; 60 std::vector<uint32> reject_reasons;
63 static_assert(sizeof(QuicTag) == sizeof(uint32), "header out of sync"); 61 static_assert(sizeof(QuicTag) == sizeof(uint32), "header out of sync");
64 }; 62 };
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 uint32 source_address_token_lifetime_secs_; 596 uint32 source_address_token_lifetime_secs_;
599 uint32 server_nonce_strike_register_max_entries_; 597 uint32 server_nonce_strike_register_max_entries_;
600 uint32 server_nonce_strike_register_window_secs_; 598 uint32 server_nonce_strike_register_window_secs_;
601 599
602 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerConfig); 600 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerConfig);
603 }; 601 };
604 602
605 } // namespace net 603 } // namespace net
606 604
607 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ 605 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698