| Index: net/tools/quic/quic_client_session.cc
|
| diff --git a/net/tools/quic/quic_client_session.cc b/net/tools/quic/quic_client_session.cc
|
| index 6fdf11ec12a5a447aeb975aedee880dc404e85fd..e3394d31d2faf5e2ec3dbc30e343e9530c614a97 100644
|
| --- a/net/tools/quic/quic_client_session.cc
|
| +++ b/net/tools/quic/quic_client_session.cc
|
| @@ -27,8 +27,8 @@ QuicClientSession::~QuicClientSession() {
|
| }
|
|
|
| QuicReliableClientStream* QuicClientSession::CreateOutgoingReliableStream() {
|
| - if (!crypto_stream_.handshake_complete()) {
|
| - DLOG(INFO) << "Crypto handshake not complete, no outgoing stream created.";
|
| + if (!crypto_stream_.encryption_established()) {
|
| + DLOG(INFO) << "Encryption not active so no outgoing stream created.";
|
| return NULL;
|
| }
|
| if (GetNumOpenStreams() >= get_max_open_streams()) {
|
|
|