| Index: net/tools/quic/quic_client.cc
|
| diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
|
| index 8acb85a898fdf222e6ad722a48e7cc41cbcc8139..e258c13cec9688919dadcef06bda35bee9577675 100644
|
| --- a/net/tools/quic/quic_client.cc
|
| +++ b/net/tools/quic/quic_client.cc
|
| @@ -39,6 +39,8 @@ QuicClient::QuicClient(IPEndPoint server_address,
|
| packets_dropped_(0),
|
| overflow_supported_(false) {
|
| epoll_server_.set_timeout_in_us(50 * 1000);
|
| + config_.SetDefaults();
|
| + crypto_config_.SetDefaults();
|
| }
|
|
|
| QuicClient::~QuicClient() {
|
| @@ -129,9 +131,13 @@ bool QuicClient::StartConnect() {
|
| DCHECK(!connected() && initialized_);
|
|
|
| QuicGuid guid = QuicRandom::GetInstance()->RandUint64();
|
| - session_.reset(new QuicClientSession(server_hostname_, new QuicConnection(
|
| - guid, server_address_,
|
| - new QuicEpollConnectionHelper(fd_, &epoll_server_), false)));
|
| + session_.reset(new QuicClientSession(
|
| + server_hostname_,
|
| + config_,
|
| + new QuicConnection(guid, server_address_,
|
| + new QuicEpollConnectionHelper(fd_, &epoll_server_),
|
| + false),
|
| + &crypto_config_));
|
| return session_->CryptoConnect();
|
| }
|
|
|
|
|