| Index: net/quic/core/quic_client_promised_info.cc
|
| diff --git a/net/quic/core/quic_client_promised_info.cc b/net/quic/core/quic_client_promised_info.cc
|
| index 8c6703884b3442969096bced6d53bf190943397c..6024bd5403e68750d2bfd431c6a31c3624c63903 100644
|
| --- a/net/quic/core/quic_client_promised_info.cc
|
| +++ b/net/quic/core/quic_client_promised_info.cc
|
| @@ -25,7 +25,11 @@ QuicClientPromisedInfo::~QuicClientPromisedInfo() {}
|
|
|
| void QuicClientPromisedInfo::CleanupAlarm::OnAlarm() {
|
| DVLOG(1) << "self GC alarm for stream " << promised_->id_;
|
| - promised_->Reset(QUIC_STREAM_CANCELLED);
|
| + if (FLAGS_quic_send_push_stream_timed_out_error) {
|
| + promised_->Reset(QUIC_PUSH_STREAM_TIMED_OUT);
|
| + } else {
|
| + promised_->Reset(QUIC_STREAM_CANCELLED);
|
| + }
|
| }
|
|
|
| void QuicClientPromisedInfo::Init() {
|
|
|