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

Unified Diff: net/quic/reliable_quic_stream.cc

Issue 216423006: Send BLOCKED frame directly from ReliableQuicStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « net/quic/quic_session.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.cc
diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
index f52dde31490b66199287e44e7129d88824ef205b..bc8d0f8fde4732e86205f70e35221cfff7ba6d8c 100644
--- a/net/quic/reliable_quic_stream.cc
+++ b/net/quic/reliable_quic_stream.cc
@@ -351,7 +351,7 @@ QuicConsumedData ReliableQuicStream::WritevData(
if (IsFlowControlEnabled()) {
if (send_window == 0 && !fin_with_zero_data) {
// Quick return if we can't send anything.
- session_->MarkFlowControlBlocked(id(), EffectivePriority());
+ session()->connection()->SendBlocked(id());
return QuicConsumedData(0, false);
}
@@ -383,7 +383,7 @@ QuicConsumedData ReliableQuicStream::WritevData(
<< flow_control_send_limit_;
// The entire send_window has been consumed, we are now flow control
// blocked.
- session_->MarkFlowControlBlocked(id(), EffectivePriority());
+ session()->connection()->SendBlocked(id());
}
if (fin && consumed_data.fin_consumed) {
fin_sent_ = true;
« no previous file with comments | « net/quic/quic_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698