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

Unified Diff: net/spdy/spdy_stream.cc

Issue 1061853002: Emit session-level WINDOW_UPDATEs less frequently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: comments in #5. Created 5 years, 8 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/spdy/spdy_session_unittest.cc ('k') | net/spdy/spdy_test_util_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream.cc
diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc
index 1fac26a773894464ff1b6e580f8209cba5fed455..31aa41342d6cb970c4c454485d7b2025f49485aa 100644
--- a/net/spdy/spdy_stream.cc
+++ b/net/spdy/spdy_stream.cc
@@ -334,7 +334,7 @@ void SpdyStream::IncreaseRecvWindowSize(int32 delta_window_size) {
unacked_recv_window_bytes_ += delta_window_size;
if (unacked_recv_window_bytes_ >
- session_->stream_initial_recv_window_size() / 2) {
+ session_->stream_max_recv_window_size() / 2) {
session_->SendStreamWindowUpdate(
stream_id_, static_cast<uint32>(unacked_recv_window_bytes_));
unacked_recv_window_bytes_ = 0;
« no previous file with comments | « net/spdy/spdy_session_unittest.cc ('k') | net/spdy/spdy_test_util_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698