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

Unified Diff: net/quic/quic_session.cc

Issue 1335443002: Landing Recent QUIC changes until 8/26/2015 19:47 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_sent_packet_manager.h ('k') | net/tools/quic/end_to_end_test.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 6085704d964140f5999f04053bb1c99ee7ebba2d..8e3696ba07d6648f3fbbc94d8e5ccb2892576c8d 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -219,15 +219,7 @@ void QuicSession::OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) {
DVLOG(1) << ENDPOINT << "Received connection level flow control window "
"update with byte offset: "
<< frame.byte_offset;
- if (flow_controller_.UpdateSendWindowOffset(frame.byte_offset)) {
- // Connection level flow control window has increased, so blocked streams
- // can write again.
- // TODO(ianswett): I suspect this can be delayed until the packet
- // processing is complete.
- if (!FLAGS_quic_dont_write_when_flow_unblocked) {
- OnCanWrite();
- }
- }
+ flow_controller_.UpdateSendWindowOffset(frame.byte_offset);
return;
}
ReliableQuicStream* stream = GetStream(stream_id);
« no previous file with comments | « net/quic/quic_sent_packet_manager.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698