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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 2126903002: Deprectate --quic_ignore_srbf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126352469
Patch Set: Created 4 years, 5 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_flags.cc ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index 33e79fec8772c65adcd7e6b5f814231888a06c8b..832ca5d165948256eeb768ba8c1f991d75f42d32 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -163,14 +163,6 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
config.HasClientSentConnectionOption(kUNDO, perspective_)) {
undo_pending_retransmits_ = true;
}
- if (!FLAGS_quic_ignore_srbf && config.HasReceivedSocketReceiveBuffer()) {
- receive_buffer_bytes_ =
- max(kMinSocketReceiveBuffer,
- static_cast<QuicByteCount>(config.ReceivedSocketReceiveBuffer()));
- QuicByteCount max_cwnd_bytes = static_cast<QuicByteCount>(
- receive_buffer_bytes_ * kConservativeReceiveBufferFraction);
- send_algorithm_->SetMaxCongestionWindow(max_cwnd_bytes);
- }
send_algorithm_->SetFromConfig(config, perspective_);
if (network_change_visitor_ != nullptr) {
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698