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

Unified Diff: net/quic/quic_session.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.h ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 055eb5be0e661415127d11c0eed002a64f99afda..c9543a25d8f324f7592d0c2cbcd5c81200d61103 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -564,19 +564,6 @@ void QuicSession::MarkWriteBlocked(QuicStreamId id, QuicPriority priority) {
write_blocked_streams_.PushBack(id, priority);
}
-void QuicSession::MarkFlowControlBlocked(QuicStreamId id,
- QuicPriority priority) {
- ReliableQuicStream* stream = GetStream(id);
- if (stream == NULL) {
- LOG(DFATAL) << "Trying to mark nonexistent stream " << id
- << " flow control blocked.";
- return;
- }
-
- // Send a BLOCKED frame to peer.
- connection()->SendBlocked(id);
-}
-
bool QuicSession::HasDataToWrite() const {
return write_blocked_streams_.HasWriteBlockedStreams() ||
connection_->HasQueuedData();
« no previous file with comments | « net/quic/quic_session.h ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698