| 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 815fdfd811fd0476d4324949fcce123016183e5b..92eec0415df0840d686f19f746973183d6f83dde 100644
|
| --- a/net/tools/quic/quic_client_session.cc
|
| +++ b/net/tools/quic/quic_client_session.cc
|
| @@ -16,7 +16,7 @@ namespace tools {
|
|
|
| QuicClientSession::QuicClientSession(const QuicConfig& config,
|
| QuicConnection* connection)
|
| - : QuicClientSessionBase(connection, config) {
|
| + : QuicClientSessionBase(connection, config), respect_goaway_(true) {
|
| }
|
|
|
| QuicClientSession::~QuicClientSession() {
|
| @@ -46,7 +46,7 @@ QuicSpdyClientStream* QuicClientSession::CreateOutgoingDataStream() {
|
| << "Already " << GetNumOpenStreams() << " open.";
|
| return nullptr;
|
| }
|
| - if (goaway_received()) {
|
| + if (goaway_received() && respect_goaway_) {
|
| DVLOG(1) << "Failed to create a new outgoing stream. "
|
| << "Already received goaway.";
|
| return nullptr;
|
|
|