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

Issue 2887803002: SendAlgorithmTest should set pacing consistently. Test only. (Closed)

Created:
3 years, 7 months ago by Victor Vasiliev
Modified:
3 years, 7 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SendAlgorithmTest should set pacing consistently. Test only. The SentPacketManager should set "UsingPacing" for the SendAlgorithm, depending on the congestion-control type. Unfortunately, this is currently only done if the user calls SetFromConfig to set the congestion-control type. Setting the SendAlgorithm directly can result in a having a congestion-control algorithm that is incompatible with pacing, but also has UsingPacing set to true. This is a temporary fix, until we fix b/38146609. Because of that bug, the rest of the code is a bit inconsistent on where/when pacing gets set. Merge internal change: 155528093 R=rch@chromium.org BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M net/quic/core/congestion_control/send_algorithm_test.cc View 1 chunk +7 lines, -1 line 0 comments Download
M net/quic/test_tools/quic_sent_packet_manager_peer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_sent_packet_manager_peer.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 2 (0 generated)
Victor Vasiliev
3 years, 7 months ago (2017-05-16 16:16:26 UTC) #1
Ryan Hamilton
3 years, 7 months ago (2017-05-16 17:16:30 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698