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

Unified Diff: net/quic/quic_http_stream.cc

Issue 1774703003: QuicChromiumClientStream should only do OnStream after notifying delegate about trailers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index e733319dbb41545b9d40672af24644be815e4ec7..74d8e43a56df73caf9ad98d3389873b9a290ef7c 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -442,11 +442,6 @@ void QuicHttpStream::OnHeadersAvailable(const SpdyHeaderBlock& headers,
// QuicHttpStream ignores trailers.
if (response_headers_received_) {
- if (stream_->IsDoneReading()) {
- // Close the read side. If the write side has been closed, this will
- // invoke QuicHttpStream::OnClose to reset the stream.
- stream_->OnFinRead();
- }
return;
}

Powered by Google App Engine
This is Rietveld 408576698