| Index: net/tools/quic/quic_client.cc
|
| diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
|
| index e3edac58aff314e3bc043d3822f665005344d3e3..7430e3daf4f85b45ff2dbac427316e96bd84c3ad 100644
|
| --- a/net/tools/quic/quic_client.cc
|
| +++ b/net/tools/quic/quic_client.cc
|
| @@ -58,7 +58,7 @@ QuicClient::QuicClient(IPEndPoint server_address,
|
| QuicClient::~QuicClient() {
|
| if (connected()) {
|
| session()->connection()->SendConnectionClosePacket(
|
| - QUIC_PEER_GOING_AWAY, string());
|
| + QUIC_PEER_GOING_AWAY, "");
|
| }
|
| }
|
|
|
| @@ -183,7 +183,9 @@ void QuicClient::SendRequestsAndWaitForResponse(int argc, char *argv[]) {
|
| }
|
|
|
| QuicReliableClientStream* QuicClient::CreateReliableClientStream() {
|
| - DCHECK(connected());
|
| + if (!connected()) {
|
| + return NULL;
|
| + }
|
|
|
| return session_->CreateOutgoingReliableStream();
|
| }
|
|
|