| Index: net/quic/reliable_quic_stream.cc
|
| diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
|
| index 1efad1902607faa34274df5b90918cff9dc5c2a9..89e865ad6ad29f297b95d4648c070ccab8c72edf 100644
|
| --- a/net/quic/reliable_quic_stream.cc
|
| +++ b/net/quic/reliable_quic_stream.cc
|
| @@ -325,6 +325,12 @@ QuicConsumedData ReliableQuicStream::WritevData(
|
|
|
| AddBytesSent(consumed_data.bytes_consumed);
|
|
|
| + // The write may have generated a write error causing this stream to be
|
| + // closed. If so, simply return without marking the stream write blocked.
|
| + if (write_side_closed_) {
|
| + return consumed_data;
|
| + }
|
| +
|
| if (consumed_data.bytes_consumed == write_length) {
|
| if (!fin_with_zero_data) {
|
| MaybeSendBlocked();
|
|
|