Index: net/quic/quic_http_stream.cc |
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc |
index eab19f714e7f0bd8b8d51c66966a1ccf61fef7bb..a069fa2cf509bbc878a4a41e2a6ab98780746967 100644 |
--- a/net/quic/quic_http_stream.cc |
+++ b/net/quic/quic_http_stream.cc |
@@ -219,6 +219,8 @@ void QuicHttpStream::Close(bool not_reusable) { |
stream_->SetDelegate(NULL); |
stream_->Reset(QUIC_STREAM_CANCELLED); |
stream_ = NULL; |
+ response_status_ = was_handshake_confirmed_ ? |
+ ERR_CONNECTION_CLOSED : ERR_QUIC_HANDSHAKE_FAILED; |
} |
} |