Index: net/quic/crypto/crypto_protocol.cc |
=================================================================== |
--- net/quic/crypto/crypto_protocol.cc (revision 174485) |
+++ net/quic/crypto/crypto_protocol.cc (working copy) |
@@ -9,4 +9,29 @@ |
CryptoHandshakeMessage::CryptoHandshakeMessage() {} |
CryptoHandshakeMessage::~CryptoHandshakeMessage() {} |
+QuicClientHelloConfig::QuicClientHelloConfig() { |
Ryan Hamilton
2012/12/22 22:31:32
These seem like sensible values, but I confess, I
|
+ // Version must be 0. |
+ version = 0; |
+ |
+ // Key exchange methods. |
+ key_exchange.resize(2); |
+ key_exchange[0] = kC255; |
+ key_exchange[1] = kP256; |
+ |
+ // Authenticated encryption algorithms. |
+ aead.resize(2); |
+ aead[0] = kAESG; |
+ aead[1] = kAESH; |
+ |
+ // Congestion control feedback types. |
+ congestion_control.resize(1); |
+ congestion_control[0] = kQBIC; |
+ |
+ // Idle connection state lifetime. |
+ idle_connection_state_lifetime = 300; // 300 seconds. |
+ |
+ // Keepalive timeout. |
+ keepalive_timeout = 0; // Don't send keepalive probes. |
+} |
+ |
} // namespace net |