| Index: net/quic/quic_http_stream.cc
|
| diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
|
| index d3fd026570810ccb184bacaf05b0e6455a234b9d..3217864a47450a17a2250782c0d9012386e5ff23 100644
|
| --- a/net/quic/quic_http_stream.cc
|
| +++ b/net/quic/quic_http_stream.cc
|
| @@ -497,7 +497,8 @@ void QuicHttpStream::OnDataAvailable() {
|
| }
|
|
|
| void QuicHttpStream::OnClose(QuicErrorCode error) {
|
| - if (error != QUIC_NO_ERROR) {
|
| + if (error != QUIC_NO_ERROR ||
|
| + stream_->stream_error() != QUIC_STREAM_NO_ERROR) {
|
| response_status_ = was_handshake_confirmed_ ? ERR_QUIC_PROTOCOL_ERROR
|
| : ERR_QUIC_HANDSHAKE_FAILED;
|
| } else if (!response_headers_received_) {
|
|
|