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

Unified Diff: net/quic/quic_client_session_base.h

Issue 1651153005: changes QUIC negotiation about max open streams which effects server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113042237
Patch Set: Created 4 years, 11 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_chromium_client_session_test.cc ('k') | net/quic/quic_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_session_base.h
diff --git a/net/quic/quic_client_session_base.h b/net/quic/quic_client_session_base.h
index 414562b7ab0627b634c49e88af93f60197b2d2e4..e48fd957d40a40964120c13a437caaab3e78fc3e 100644
--- a/net/quic/quic_client_session_base.h
+++ b/net/quic/quic_client_session_base.h
@@ -88,7 +88,7 @@ class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSpdySession {
void ResetPromised(QuicStreamId id, QuicRstStreamErrorCode error_code);
size_t get_max_promises() const {
- return get_max_open_streams() * kMaxPromisedStreamsMultiplier;
+ return max_open_incoming_streams() * kMaxPromisedStreamsMultiplier;
}
private:
« no previous file with comments | « net/quic/quic_chromium_client_session_test.cc ('k') | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698