summaryrefslogtreecommitdiffstats
path: root/net/tools/quic/quic_client.h
diff options
context:
space:
mode:
authorrtenneti <rtenneti@chromium.org>2014-10-29 18:49:33 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-30 01:49:49 +0000
commit2318668785bae416e25ee3ffff0dd72308f075a9 (patch)
tree37a3a65441b5f4e6b2470a1c1fcf5e5dadf3e1d9 /net/tools/quic/quic_client.h
parent31e90adac9fd24f1b451bbe936406fbc0fe7345d (diff)
downloadchromium_src-2318668785bae416e25ee3ffff0dd72308f075a9.zip
chromium_src-2318668785bae416e25ee3ffff0dd72308f075a9.tar.gz
chromium_src-2318668785bae416e25ee3ffff0dd72308f075a9.tar.bz2
Land Recent QUIC Changes.
Refactor Cubic congestion control to separate out PRR into a distinct class. Merge internal change: 78703144 https://codereview.chromium.org/688593002/ Move receive_window_ from BbrTcpSender and TcpCubicSender to QuicSentPacketManager, since it's not specific to a congestion algorithm. Merge internal change: 78692549 https://codereview.chromium.org/687093002/ Gathering ClientConnectionStats at suitable times (near the end of request handling and after receiving final ACK). Exported kNumberOfNacksBeforeRetransmission for gathering ClientConnectionStats. Merge internal change: 78688302 https://codereview.chromium.org/687083002/ Deprecate rolled out flag FLAGS_close_quic_connection_unfinished_streams_2 Merge internal change: 78683497 https://codereview.chromium.org/639823010/ Close the QUIC connection if too many sent or received packets are outstanding. Protected by FLAGS_quic_too_many_outstanding_packets. Merge internal change: 78666674 https://codereview.chromium.org/682413002/ Remove QUIC_VERSION_21 from supported versions. Will remove it entirely later, after QUIC_VERSION_19 is removed. Merge internal change: 78604601 https://codereview.chromium.org/682383003/ Turning off CID truncation for proxied connections. Turning on CID truncation by default, since chrome will do it by default. Turning off CID truncation for proxied connections for QUIC. Merge internal change: 78599095 https://codereview.chromium.org/683263003/ Protect UpdateRTT from negative send deltas Prevent negative send_deltas from being incorporated into the various RTT calculations. AFAIK, it's not happening now, but it doesn't hurt to be vigilant against future bugs. If we're getting such RTTs, it's due to some pathological error that we'd like to know about. Added a unittest for these corner cases. Low-impact. Don't use negative samples in QUIC rtt calculation. Merge internal change: 78580114 https://codereview.chromium.org/687883002/ Protect against the divide by zero error in QuicBandwidth::TransferTime. Currently some send algorithms may return QuicBandwidth::Zero. Merge internal change: 78578198 https://codereview.chromium.org/684043002/ Add a QUIC connection option, 'NTLP', to disable tail loss probes by setting max_tail_loss_probes_ to 0, in order to evaluate it's performance benefit. Merge internal change: 78465187 https://codereview.chromium.org/682283003/ Adding an option for peers to negotiate the length of the QUIC connection ID sent to them. This is a functional no-op until Chrome starts sending this configuration option, at which point it can still be turned off via FLAGS_allow_truncated_connection_ids_for_quic Also fixing quic config to not have protected member variables while I'm in there, because it was irritating me. Allowing truncated QUIC connection IDs. Off by default. Merge internal change: 78462599 https://codereview.chromium.org/687033002/ R=rch@chromium.org Review URL: https://codereview.chromium.org/691483003 Cr-Commit-Position: refs/heads/master@{#302014}
Diffstat (limited to 'net/tools/quic/quic_client.h')
-rw-r--r--net/tools/quic/quic_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index 035f70c..4111b1a 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -170,6 +170,8 @@ class QuicClient : public EpollCallbackInterface,
response_listener_.reset(listener);
}
+ QuicConfig* config() { return &config_; }
+
protected:
virtual QuicConnectionId GenerateConnectionId();
virtual QuicEpollConnectionHelper* CreateQuicConnectionHelper();
@@ -181,7 +183,6 @@ class QuicClient : public EpollCallbackInterface,
IPAddressNumber* client_ip);
EpollServer* epoll_server() { return epoll_server_; }
- QuicConfig* config() { return &config_; }
private:
friend class net::tools::test::QuicClientPeer;