Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: net/quic/core/quic_spdy_stream.cc

Issue 2747443002: Landing recent QUIC changes until Sun Mar 5 09:18:09 2017 +0000 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/core/quic_spdy_stream.cc
diff --git a/net/quic/core/quic_spdy_stream.cc b/net/quic/core/quic_spdy_stream.cc
index 5d98d186cd12f4e25c46bff8fb782f6066214dc1..cbbd96d0dafc0b77d6a4ae5b613c2505225ca46d 100644
--- a/net/quic/core/quic_spdy_stream.cc
+++ b/net/quic/core/quic_spdy_stream.cc
@@ -45,17 +45,6 @@ QuicSpdyStream::~QuicSpdyStream() {
}
}
-void QuicSpdyStream::StopReading() {
- if (!fin_received() && !rst_received() && write_side_closed() &&
- !rst_sent()) {
- DCHECK(fin_sent());
- // Tell the peer to stop sending further data.
- QUIC_DVLOG(1) << ENDPOINT << "Send QUIC_STREAM_NO_ERROR on stream " << id();
- Reset(QUIC_STREAM_NO_ERROR);
- }
- QuicStream::StopReading();
-}
-
size_t QuicSpdyStream::WriteHeaders(
SpdyHeaderBlock header_block,
bool fin,

Powered by Google App Engine
This is Rietveld 408576698