Commit ae376cbc authored by Ryan Hamilton's avatar Ryan Hamilton Committed by Commit Bot

Roll src/net/third_party/quiche/src/ 94591413f..409b261f3 (3 commits)

https://quiche.googlesource.com/quiche.git/+log/94591413f1fe..409b261f38af

$ git log 94591413f..409b261f3 --date=short --no-merges --format='%ad %ae %s'
2019-11-15 rch Add a new QUIC platform API QUIC_SLOW_TEST which will be used in chrome to disable tests which are too slow.
2019-11-15 wub gfe-relnote: (n/a) Change QUIC's AckedPacketVector and LostPacketVector from std::vector to QuicInlinedVector with a inline capacity of 2. Not protected.
2019-11-15 fayang Introduce HandshakeState enum to sent packet manager. Not used yet, not protected.

Created with:
  roll-dep src/net/third_party/quiche/src src/third_party/quic_trace/src

Add missing QUIC files to net/BUILD.gn


Change-Id: If98c172bc524cac0e64c8445d54ed9041b3c29d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918285
Auto-Submit: Ryan Hamilton <rch@chromium.org>
Commit-Queue: Ryan Hamilton <rch@chromium.org>
Commit-Queue: Renjie Tang <renjietang@chromium.org>
Reviewed-by: default avatarRenjie Tang <renjietang@chromium.org>
Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715831}
parent 1f7384c5
...@@ -311,7 +311,7 @@ vars = { ...@@ -311,7 +311,7 @@ vars = {
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed # the commit queue can handle CLs rolling feed
# and whatever else without interference from each other. # and whatever else without interference from each other.
'quiche_revision': '94591413f1fed34fab1f50664aad975b1cdaac19', 'quiche_revision': '409b261f38af3c3a04d1d10d62cbd64d85e99e25',
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling ios_webkit # the commit queue can handle CLs rolling ios_webkit
# and whatever else without interference from each other. # and whatever else without interference from each other.
......
...@@ -1175,6 +1175,18 @@ component("net") { ...@@ -1175,6 +1175,18 @@ component("net") {
"third_party/quiche/src/http2/platform/api/http2_string_utils.h", "third_party/quiche/src/http2/platform/api/http2_string_utils.h",
"third_party/quiche/src/quic/core/congestion_control/bandwidth_sampler.cc", "third_party/quiche/src/quic/core/congestion_control/bandwidth_sampler.cc",
"third_party/quiche/src/quic/core/congestion_control/bandwidth_sampler.h", "third_party/quiche/src/quic/core/congestion_control/bandwidth_sampler.h",
"third_party/quiche/src/quic/core/congestion_control/bbr2_drain.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_drain.h",
"third_party/quiche/src/quic/core/congestion_control/bbr2_misc.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_misc.h",
"third_party/quiche/src/quic/core/congestion_control/bbr2_probe_bw.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_probe_bw.h",
"third_party/quiche/src/quic/core/congestion_control/bbr2_probe_rtt.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_probe_rtt.h",
"third_party/quiche/src/quic/core/congestion_control/bbr2_sender.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_sender.h",
"third_party/quiche/src/quic/core/congestion_control/bbr2_startup.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_startup.h",
"third_party/quiche/src/quic/core/congestion_control/bbr_sender.cc", "third_party/quiche/src/quic/core/congestion_control/bbr_sender.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr_sender.h", "third_party/quiche/src/quic/core/congestion_control/bbr_sender.h",
"third_party/quiche/src/quic/core/congestion_control/cubic_bytes.cc", "third_party/quiche/src/quic/core/congestion_control/cubic_bytes.cc",
...@@ -1365,6 +1377,9 @@ component("net") { ...@@ -1365,6 +1377,9 @@ component("net") {
"third_party/quiche/src/quic/core/legacy_quic_stream_id_manager.cc", "third_party/quiche/src/quic/core/legacy_quic_stream_id_manager.cc",
"third_party/quiche/src/quic/core/legacy_quic_stream_id_manager.h", "third_party/quiche/src/quic/core/legacy_quic_stream_id_manager.h",
"third_party/quiche/src/quic/core/packet_number_indexed_queue.h", "third_party/quiche/src/quic/core/packet_number_indexed_queue.h",
"third_party/quiche/src/quic/core/proto/cached_network_parameters_proto.h",
"third_party/quiche/src/quic/core/proto/crypto_server_config_proto.h",
"third_party/quiche/src/quic/core/proto/source_address_token_proto.h",
"third_party/quiche/src/quic/core/qpack/qpack_blocking_manager.cc", "third_party/quiche/src/quic/core/qpack/qpack_blocking_manager.cc",
"third_party/quiche/src/quic/core/qpack/qpack_blocking_manager.h", "third_party/quiche/src/quic/core/qpack/qpack_blocking_manager.h",
"third_party/quiche/src/quic/core/qpack/qpack_constants.cc", "third_party/quiche/src/quic/core/qpack/qpack_constants.cc",
...@@ -1572,6 +1587,7 @@ component("net") { ...@@ -1572,6 +1587,7 @@ component("net") {
"third_party/quiche/src/quic/platform/api/quic_uint128.h", "third_party/quiche/src/quic/platform/api/quic_uint128.h",
"third_party/quiche/src/quic/quic_transport/quic_transport_client_session.cc", "third_party/quiche/src/quic/quic_transport/quic_transport_client_session.cc",
"third_party/quiche/src/quic/quic_transport/quic_transport_client_session.h", "third_party/quiche/src/quic/quic_transport/quic_transport_client_session.h",
"third_party/quiche/src/quic/quic_transport/quic_transport_protocol.h",
"third_party/quiche/src/quic/quic_transport/quic_transport_server_session.cc", "third_party/quiche/src/quic/quic_transport/quic_transport_server_session.cc",
"third_party/quiche/src/quic/quic_transport/quic_transport_server_session.h", "third_party/quiche/src/quic/quic_transport/quic_transport_server_session.h",
"third_party/quiche/src/quic/quic_transport/quic_transport_session_interface.h", "third_party/quiche/src/quic/quic_transport/quic_transport_session_interface.h",
...@@ -3384,6 +3400,7 @@ source_set("quic_test_tools") { ...@@ -3384,6 +3400,7 @@ source_set("quic_test_tools") {
"third_party/quiche/src/quic/test_tools/quic_test_utils.h", "third_party/quiche/src/quic/test_tools/quic_test_utils.h",
"third_party/quiche/src/quic/test_tools/quic_time_wait_list_manager_peer.cc", "third_party/quiche/src/quic/test_tools/quic_time_wait_list_manager_peer.cc",
"third_party/quiche/src/quic/test_tools/quic_time_wait_list_manager_peer.h", "third_party/quiche/src/quic/test_tools/quic_time_wait_list_manager_peer.h",
"third_party/quiche/src/quic/test_tools/quic_transport_test_tools.h",
"third_party/quiche/src/quic/test_tools/quic_unacked_packet_map_peer.cc", "third_party/quiche/src/quic/test_tools/quic_unacked_packet_map_peer.cc",
"third_party/quiche/src/quic/test_tools/quic_unacked_packet_map_peer.h", "third_party/quiche/src/quic/test_tools/quic_unacked_packet_map_peer.h",
"third_party/quiche/src/quic/test_tools/rtt_stats_peer.cc", "third_party/quiche/src/quic/test_tools/rtt_stats_peer.cc",
...@@ -5398,6 +5415,7 @@ test("net_unittests") { ...@@ -5398,6 +5415,7 @@ test("net_unittests") {
"third_party/quiche/src/http2/tools/random_util.cc", "third_party/quiche/src/http2/tools/random_util.cc",
"third_party/quiche/src/http2/tools/random_util.h", "third_party/quiche/src/http2/tools/random_util.h",
"third_party/quiche/src/quic/core/congestion_control/bandwidth_sampler_test.cc", "third_party/quiche/src/quic/core/congestion_control/bandwidth_sampler_test.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr2_simulator_test.cc",
"third_party/quiche/src/quic/core/congestion_control/bbr_sender_test.cc", "third_party/quiche/src/quic/core/congestion_control/bbr_sender_test.cc",
"third_party/quiche/src/quic/core/congestion_control/cubic_bytes_test.cc", "third_party/quiche/src/quic/core/congestion_control/cubic_bytes_test.cc",
"third_party/quiche/src/quic/core/congestion_control/general_loss_algorithm_test.cc", "third_party/quiche/src/quic/core/congestion_control/general_loss_algorithm_test.cc",
...@@ -5515,6 +5533,7 @@ test("net_unittests") { ...@@ -5515,6 +5533,7 @@ test("net_unittests") {
"third_party/quiche/src/quic/core/quic_time_test.cc", "third_party/quiche/src/quic/core/quic_time_test.cc",
"third_party/quiche/src/quic/core/quic_time_wait_list_manager_test.cc", "third_party/quiche/src/quic/core/quic_time_wait_list_manager_test.cc",
"third_party/quiche/src/quic/core/quic_trace_visitor_test.cc", "third_party/quiche/src/quic/core/quic_trace_visitor_test.cc",
"third_party/quiche/src/quic/core/quic_types_test.cc",
"third_party/quiche/src/quic/core/quic_unacked_packet_map_test.cc", "third_party/quiche/src/quic/core/quic_unacked_packet_map_test.cc",
"third_party/quiche/src/quic/core/quic_utils_test.cc", "third_party/quiche/src/quic/core/quic_utils_test.cc",
"third_party/quiche/src/quic/core/quic_version_manager_test.cc", "third_party/quiche/src/quic/core/quic_version_manager_test.cc",
...@@ -6876,6 +6895,20 @@ fuzzer_test("net_quic_framer_fuzzer") { ...@@ -6876,6 +6895,20 @@ fuzzer_test("net_quic_framer_fuzzer") {
] ]
} }
fuzzer_test("net_quic_framer_process_data_packet_fuzzer") {
sources = [
"third_party/quiche/src/quic/test_tools/fuzzing/quic_framer_process_data_packet_fuzzer.cc",
]
deps = [
":net_fuzzer_test_support",
":quic_test_tools",
":test_support",
"//net",
"//net/data/ssl/certificates:generate_fuzzer_cert_includes",
]
}
fuzzer_test("net_uri_template_fuzzer") { fuzzer_test("net_uri_template_fuzzer") {
sources = [ sources = [
"third_party/uri_template/uri_template_fuzzer.cc", "third_party/uri_template/uri_template_fuzzer.cc",
......
...@@ -85,4 +85,6 @@ ParsedQuicVersionVector AllVersionsExcept99(); ...@@ -85,4 +85,6 @@ ParsedQuicVersionVector AllVersionsExcept99();
} while (0); } while (0);
#endif #endif
#define QUIC_SLOW_TEST_IMPL(name) DISABLED_##name
#endif // NET_QUIC_PLATFORM_IMPL_QUIC_TEST_IMPL_H_ #endif // NET_QUIC_PLATFORM_IMPL_QUIC_TEST_IMPL_H_
...@@ -366,3 +366,28 @@ QUIC_FLAG( ...@@ -366,3 +366,28 @@ QUIC_FLAG(
QUIC_FLAG(bool, QUIC_FLAG(bool,
FLAGS_quic_reloadable_flag_quic_on_packet_numbers_skipped, FLAGS_quic_reloadable_flag_quic_on_packet_numbers_skipped,
false) false)
// The default minimum duration for BBRv2-native probes, in milliseconds.
QUIC_FLAG(int32_t, FLAGS_quic_bbr2_default_probe_bw_base_duration_ms, 2000)
// The default upper bound of the random amount of BBRv2-native
// probes, in milliseconds.
QUIC_FLAG(int32_t, FLAGS_quic_bbr2_default_probe_bw_max_rand_duration_ms, 1000)
// The default period for entering PROBE_RTT, in milliseconds.
QUIC_FLAG(int32_t, FLAGS_quic_bbr2_default_probe_rtt_period_ms, 10000)
// The default loss threshold for QUIC BBRv2, should be a value
// between 0 and 1.
QUIC_FLAG(double, FLAGS_quic_bbr2_default_loss_threshold, 0.3)
// The default minimum number of loss marking events to exit STARTUP.
QUIC_FLAG(int32_t, FLAGS_quic_bbr2_default_startup_full_loss_count, 8)
// The default fraction of unutilized headroom to try to leave in path
// upon high loss.
QUIC_FLAG(double, FLAGS_quic_bbr2_default_inflight_hi_headroom, 0.01)
// If true, for QUIC BBRv2: 1) don't grow inflight_hi unless it's fully used,
// and 2) cap inflight_lo in PROBE_CRUISE.
QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr2_fix_inflight_bounds, false)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment