| Index: net/quic/quic_http_stream.cc
|
| diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
|
| index f31e2d0c7f3a89a7b16e70595dcd3f6580b8610f..8b0ad0135acd29f1807e17b4e67fa18f22dd0337 100644
|
| --- a/net/quic/quic_http_stream.cc
|
| +++ b/net/quic/quic_http_stream.cc
|
| @@ -529,7 +529,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_) {
|
|
|