| Index: net/quic/quic_reliable_client_stream.cc
|
| diff --git a/net/quic/quic_reliable_client_stream.cc b/net/quic/quic_reliable_client_stream.cc
|
| index 4eb74d6a31d8382e50b1f3678e318786a8684ac7..79397bc58cb92feccc2f9fae721706927794e3d2 100644
|
| --- a/net/quic/quic_reliable_client_stream.cc
|
| +++ b/net/quic/quic_reliable_client_stream.cc
|
| @@ -27,8 +27,11 @@ QuicReliableClientStream::~QuicReliableClientStream() {
|
| uint32 QuicReliableClientStream::ProcessData(const char* data,
|
| uint32 data_len) {
|
| // TODO(rch): buffer data if we don't have a delegate.
|
| - if (!delegate_)
|
| - return ERR_ABORTED;
|
| + if (!delegate_) {
|
| + DLOG(ERROR) << "Missing delegate";
|
| + Reset(QUIC_STREAM_CANCELLED);
|
| + return 0;
|
| + }
|
|
|
| int rv = delegate_->OnDataReceived(data, data_len);
|
| if (rv != OK) {
|
|
|