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

Unified Diff: net/quic/congestion_control/tcp_cubic_sender.cc

Issue 443313002: Allow receiving a QUIC CongestionFeedbackFrame that is not kTCP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge_72204223
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/tcp_cubic_sender.cc
diff --git a/net/quic/congestion_control/tcp_cubic_sender.cc b/net/quic/congestion_control/tcp_cubic_sender.cc
index dd7e7aee5c31f7a98cb3a8a2ad82e4255dd63a86..bd61bdb916ec3c7f2cb50beb9418e58fb829749d 100644
--- a/net/quic/congestion_control/tcp_cubic_sender.cc
+++ b/net/quic/congestion_control/tcp_cubic_sender.cc
@@ -68,7 +68,9 @@ void TcpCubicSender::SetFromConfig(const QuicConfig& config, bool is_server) {
void TcpCubicSender::OnIncomingQuicCongestionFeedbackFrame(
const QuicCongestionFeedbackFrame& feedback,
QuicTime feedback_receive_time) {
- receive_window_ = feedback.tcp.receive_window;
+ if (feedback.type == kTCP) {
+ receive_window_ = feedback.tcp.receive_window;
+ }
}
void TcpCubicSender::OnCongestionEvent(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698