| Index: net/quic/reliable_quic_stream.cc
|
| diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
|
| index a05a9513ea5ae8fe93704faee318a96e2e40da91..a30ae57a4f9b30fb68fd226c48cc1d741441c148 100644
|
| --- a/net/quic/reliable_quic_stream.cc
|
| +++ b/net/quic/reliable_quic_stream.cc
|
| @@ -408,7 +408,8 @@ void ReliableQuicStream::OnClose() {
|
| // written on this stream before termination. Done here if needed, using a
|
| // RST frame.
|
| DVLOG(1) << ENDPOINT << "Sending RST in OnClose: " << id();
|
| - session_->SendRstStream(id(), QUIC_STREAM_NO_ERROR, stream_bytes_written_);
|
| + session_->SendRstStream(id(), QUIC_RST_FLOW_CONTROL_ACCOUNTING,
|
| + stream_bytes_written_);
|
| rst_sent_ = true;
|
| }
|
| }
|
|
|