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

Roll src/net/third_party/quiche/src/ ac35d459a..83f29bd6f (17 commits)

https://quiche.googlesource.com/quiche.git/+log/ac35d459a911..83f29bd6fa2b

$ git log ac35d459a..83f29bd6f --date=short --no-merges --format='%ad %ae %s'
2019-11-13 rch Change CryptoServerConfigForTesting to return a unique_ptr instead of an object because CryptoServerConfigForTesting has now copy constructor.
2019-11-12 bnc Signal QPACK dynamic table usage from quic_client_interop_test.
2019-11-11 renjietang Send correct STOP_SENDING/RESET_STREAM frames for different stream types.
2019-11-11 nharper gfe-relnote: Deprecate gfe2_reloadable_flag_quic_framer_doesnt_create_initial_encrypter
2019-11-11 renjietang Remove unnecessary code in QuicSpdySession.
2019-11-11 dschinazi Introduce QuicDatagramFlowId
2019-11-11 nharper Support resumption in quic_client_interop_test_bin
2019-11-11 renjietang gfe-relnote: Deprecate gfe2_reloadable_flag_quic_coalesce_stream_frames. The flag is replaced by gfe2_restart_flag_quic_coalesce_stream_frames_2 and is no longer in use.
2019-11-11 renjietang Modify write_index_ advancement to incorporate coalescing stream frames.
2019-11-11 nharper gfe-relnote: Enable certificate verification on TLS resumption in QUIC, protected by reloadable flag quic_supports_tls_handshake
2019-11-11 nharper gfe-relnote: Add SessionCache to TlsClientHandshaker, protected by reloadable flag quic_supports_tls_handshake
2019-11-11 dschinazi Allow changing max_packet_size from QuicConfig
2019-11-11 wub gfe-relnote: (n/a) Add some log for QUIC bbr2 code. Logging only.
2019-11-11 bnc Remove QuicDispatcher::set_new_session_allowed_per_event_loop().
2019-11-11 ianswett Add a missing flag count for gfe2_reloadable_flag_quic_bbr_one_mss_conservation.
2019-11-11 ianswett Re-enable QuicPacketCreatorTest::ConsumeDataLargeSendAckTrue for versions with the invariant header.
2019-11-08 fayang gfe-relnote: In QUIC, close connection if CreateAndSerializeStreamFrame fails. Protected by gfe2_reloadable_flag_quic_close_connection_on_failed_consume_data_fast_path.

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

Change-Id: I5d54d00941b84ab5b89d8d9ec5324268ce1d7745
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1914967
Commit-Queue: Ryan Hamilton <rch@chromium.org>
Auto-Submit: Ryan Hamilton <rch@chromium.org>
Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715356}
parent 64959b3f
...@@ -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': 'ac35d459a91137d44e9418cc41e808a6d9bb466d', 'quiche_revision': '83f29bd6fa2ba49ede3b15b7623bb81d455fe20e',
# 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.
......
...@@ -3433,6 +3433,8 @@ source_set("quic_test_tools") { ...@@ -3433,6 +3433,8 @@ source_set("quic_test_tools") {
"third_party/quiche/src/quic/test_tools/simple_data_producer.h", "third_party/quiche/src/quic/test_tools/simple_data_producer.h",
"third_party/quiche/src/quic/test_tools/simple_quic_framer.cc", "third_party/quiche/src/quic/test_tools/simple_quic_framer.cc",
"third_party/quiche/src/quic/test_tools/simple_quic_framer.h", "third_party/quiche/src/quic/test_tools/simple_quic_framer.h",
"third_party/quiche/src/quic/test_tools/simple_session_cache.cc",
"third_party/quiche/src/quic/test_tools/simple_session_cache.h",
"third_party/quiche/src/quic/test_tools/simple_session_notifier.cc", "third_party/quiche/src/quic/test_tools/simple_session_notifier.cc",
"third_party/quiche/src/quic/test_tools/simple_session_notifier.h", "third_party/quiche/src/quic/test_tools/simple_session_notifier.h",
"third_party/quiche/src/quic/test_tools/simulator/actor.cc", "third_party/quiche/src/quic/test_tools/simulator/actor.cc",
...@@ -5543,7 +5545,8 @@ test("net_unittests") { ...@@ -5543,7 +5545,8 @@ test("net_unittests") {
"third_party/quiche/src/quic/core/quic_simple_buffer_allocator_test.cc", "third_party/quiche/src/quic/core/quic_simple_buffer_allocator_test.cc",
"third_party/quiche/src/quic/core/quic_socket_address_coder_test.cc", "third_party/quiche/src/quic/core/quic_socket_address_coder_test.cc",
"third_party/quiche/src/quic/core/quic_stream_id_manager_test.cc", "third_party/quiche/src/quic/core/quic_stream_id_manager_test.cc",
"third_party/quiche/src/quic/core/quic_stream_send_buffer_test.cc",
# "third_party/quiche/src/quic/core/quic_stream_send_buffer_test.cc",
"third_party/quiche/src/quic/core/quic_stream_sequencer_buffer_test.cc", "third_party/quiche/src/quic/core/quic_stream_sequencer_buffer_test.cc",
"third_party/quiche/src/quic/core/quic_stream_sequencer_test.cc", "third_party/quiche/src/quic/core/quic_stream_sequencer_test.cc",
"third_party/quiche/src/quic/core/quic_stream_test.cc", "third_party/quiche/src/quic/core/quic_stream_test.cc",
......
...@@ -320,7 +320,7 @@ QUIC_FLAG(int32_t, ...@@ -320,7 +320,7 @@ QUIC_FLAG(int32_t,
// If true, Adjacent stream frames will be combined into one stream frame before // If true, Adjacent stream frames will be combined into one stream frame before
// the packet is serialized. // the packet is serialized.
QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_coalesce_stream_frames, false) QUIC_FLAG(bool, FLAGS_quic_restart_flag_quic_coalesce_stream_frames_2, false)
// If true, populate nonretransmittable frames in SerializedPacket. // If true, populate nonretransmittable frames in SerializedPacket.
QUIC_FLAG(bool, QUIC_FLAG(bool,
...@@ -355,3 +355,9 @@ QUIC_FLAG(bool, ...@@ -355,3 +355,9 @@ QUIC_FLAG(bool,
QUIC_FLAG(bool, QUIC_FLAG(bool,
FLAGS_quic_reloadable_flag_quic_bbr_donot_inject_bandwidth, FLAGS_quic_reloadable_flag_quic_bbr_donot_inject_bandwidth,
false) false)
// If true, close connection if CreateAndSerializeStreamFrame fails.
QUIC_FLAG(
bool,
FLAGS_quic_reloadable_flag_quic_close_connection_on_failed_consume_data_fast_path,
false)
...@@ -143,7 +143,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { ...@@ -143,7 +143,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
&env->clock, params); &env->clock, params);
SetQuicReloadableFlag(quic_supports_tls_handshake, true); SetQuicReloadableFlag(quic_supports_tls_handshake, true);
SetQuicReloadableFlag(quic_coalesce_stream_frames, true); SetQuicRestartFlag(quic_coalesce_stream_frames_2, true);
QuicStreamRequest request(factory.get()); QuicStreamRequest request(factory.get());
TestCompletionCallback callback; TestCompletionCallback callback;
NetErrorDetails net_error_details; NetErrorDetails net_error_details;
......
...@@ -289,7 +289,10 @@ std::unique_ptr<quic::QuicReceivedPacket> QuicTestPacketMaker::MakeRstPacket( ...@@ -289,7 +289,10 @@ std::unique_ptr<quic::QuicReceivedPacket> QuicTestPacketMaker::MakeRstPacket(
quic::QuicRstStreamFrame rst(1, stream_id, error_code, quic::QuicRstStreamFrame rst(1, stream_id, error_code,
stream_offsets_[stream_id]); stream_offsets_[stream_id]);
frames.push_back(quic::QuicFrame(&rst)); if (version_.transport_version != quic::QUIC_VERSION_99 ||
quic::QuicUtils::IsBidirectionalStreamId(stream_id)) {
frames.push_back(quic::QuicFrame(&rst));
}
DVLOG(1) << "Adding frame: " << frames.back(); DVLOG(1) << "Adding frame: " << frames.back();
// The STOP_SENDING frame must be outside of the if (version==99) so that it // The STOP_SENDING frame must be outside of the if (version==99) so that it
...@@ -432,8 +435,11 @@ QuicTestPacketMaker::MakeAckAndRstPacket( ...@@ -432,8 +435,11 @@ QuicTestPacketMaker::MakeAckAndRstPacket(
quic::QuicRstStreamFrame rst(1, stream_id, error_code, quic::QuicRstStreamFrame rst(1, stream_id, error_code,
stream_offsets_[stream_id]); stream_offsets_[stream_id]);
frames.push_back(quic::QuicFrame(&rst)); if (version_.transport_version != quic::QUIC_VERSION_99 ||
DVLOG(1) << "Adding frame: " << frames.back(); quic::QuicUtils::IsBidirectionalStreamId(stream_id)) {
frames.push_back(quic::QuicFrame(&rst));
DVLOG(1) << "Adding frame: " << frames.back();
}
// The STOP_SENDING frame must be outside of the if (version==99) so that it // The STOP_SENDING frame must be outside of the if (version==99) so that it
// stays in scope until the packet is built. // stays in scope until the packet is built.
......
...@@ -47,7 +47,8 @@ QuicSimpleClient::QuicSimpleClient( ...@@ -47,7 +47,8 @@ QuicSimpleClient::QuicSimpleClient(
CreateQuicAlarmFactory(), CreateQuicAlarmFactory(),
quic::QuicWrapUnique( quic::QuicWrapUnique(
new QuicClientMessageLooplNetworkHelper(&clock_, this)), new QuicClientMessageLooplNetworkHelper(&clock_, this)),
std::move(proof_verifier)), std::move(proof_verifier),
nullptr),
initialized_(false) { initialized_(false) {
set_server_address(server_address); set_server_address(server_address);
} }
......
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