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

Unified Diff: net/quic/quic_spdy_stream.cc

Issue 2115033002: Adds QUIC_VERSION_36 which adds support to force HOL blocking between streams for measurement purpo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126085461
Patch Set: typo Created 4 years, 5 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
« no previous file with comments | « net/quic/quic_spdy_stream.h ('k') | net/quic/quic_spdy_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_stream.cc
diff --git a/net/quic/quic_spdy_stream.cc b/net/quic/quic_spdy_stream.cc
index 7b1b3ee85e17313b7012e97a933426711da6f071..3cbceb64ea6f28f7886fd29bb77d714d558b484c 100644
--- a/net/quic/quic_spdy_stream.cc
+++ b/net/quic/quic_spdy_stream.cc
@@ -402,4 +402,18 @@ void QuicSpdyStream::ClearSession() {
spdy_session_ = nullptr;
}
+QuicConsumedData QuicSpdyStream::WritevDataInner(
+ QuicIOVector iov,
+ QuicStreamOffset offset,
+ bool fin,
+ QuicAckListenerInterface* ack_notifier_delegate) {
+ if (spdy_session_->headers_stream() != nullptr &&
+ spdy_session_->force_hol_blocking()) {
+ return spdy_session_->headers_stream()->WritevStreamData(
+ id(), iov, offset, fin, ack_notifier_delegate);
+ }
+ return ReliableQuicStream::WritevDataInner(iov, offset, fin,
+ ack_notifier_delegate);
+}
+
} // namespace net
« no previous file with comments | « net/quic/quic_spdy_stream.h ('k') | net/quic/quic_spdy_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698