0

Roll src/net/third_party/quiche/src/ 3196159f2..3e6cf91c2 (7 commits)

https://quiche.googlesource.com/quiche.git/+log/3196159f28b0..3e6cf91c2f41

$ git log 3196159f2..3e6cf91c2 --date=short --no-merges --format='%ad %ae %s'
2021-06-18 wub Add a per-thread QuicConnectionContext for the upcoming QuicConnection tracing work.
2021-06-18 quiche-dev Accepts nghttp2 options when constructing an NgHttp2Adapter.
2021-06-18 quiche-dev Modifies the Http2Adapter API to accept DataFrameSources as unique_ptrs.
2021-06-18 quiche-dev Adds an integer return value to Http2Adapter::Send(), to indicate success or failure.
2021-06-17 bnc Move QuicIntervalSet:Set allocator template argument to internal platform impl.
2021-06-17 fayang Do not send PATH_CHALLENGE or PATH_RESPONSE when 1-RTT write key is not available. This does not have functional because: 1) Client does not initiated path validation until handshake confirmed. 2) Server does not allow peer address change during handshake (no reverse path validation until handshake complete). 3) Server can only receive PATH_CHALLENGE in ENCRYPTION_ZERO_RTT and ENCRYPTION_FORWARD_SECURE, while server must have 1-RTT write key. Client can only receive PATH_CHALLENGE in ENCRYPTION_FORWARD_SECURE, while client must have 1-RTT write key.
2021-06-16 vasilvv Fix more -Wc++11-narrowing issues

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

R=dschinazi@chromium.org

Change-Id: I5bb7f5c3a0707d560d5f58051b8d38884e6edf03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2971027
Commit-Queue: Bin Wu <wub@chromium.org>
Commit-Queue: David Schinazi <dschinazi@chromium.org>
Auto-Submit: Bin Wu <wub@chromium.org>
Reviewed-by: David Schinazi <dschinazi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#894014}
This commit is contained in:
Bin Wu
2021-06-18 22:55:30 +00:00
committed by Chromium LUCI CQ
parent 59fc378914
commit f30e1f3f82
4 changed files with 35 additions and 3 deletions
DEPS
net
quic
third_party
quiche
BUILD.gn
overrides
quiche_platform_impl

2
DEPS

@ -340,7 +340,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
'quiche_revision': '3196159f28b0ef380e4c0ef305833541ac12975e',
'quiche_revision': '3e6cf91c2f41a1ab3903736bd9c2073de1e32ac1',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling ios_webkit
# and whatever else without interference from each other.

@ -24,8 +24,8 @@ using QuicLinkedHashMapImpl = quiche::QuicheLinkedHashMap<Key, Value, Hash>;
template <typename T, size_t N, typename A = std::allocator<T>>
using QuicInlinedVectorImpl = std::vector<T, A>;
template <typename Key, typename Compare, typename Rep>
using QuicOrderedSetImpl = absl::btree_set<Key, Compare>;
template <typename Key, typename Compare>
using QuicSmallOrderedSetImpl = absl::btree_set<Key, Compare>;
} // namespace quic

@ -34,6 +34,7 @@ source_set("quiche") {
"overrides/quiche_platform_impl/quiche_bug_tracker_impl.h",
"overrides/quiche_platform_impl/quiche_export_impl.h",
"overrides/quiche_platform_impl/quiche_logging_impl.h",
"overrides/quiche_platform_impl/quiche_thread_local_impl.h",
"overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
"overrides/quiche_platform_impl/quiche_time_utils_impl.h",
"src/common/platform/api/quiche_export.h",
@ -41,6 +42,7 @@ source_set("quiche") {
"src/common/platform/api/quiche_flags.h",
"src/common/platform/api/quiche_logging.h",
"src/common/platform/api/quiche_prefetch.h",
"src/common/platform/api/quiche_thread_local.h",
"src/common/platform/api/quiche_time_utils.h",
"src/common/platform/default/quiche_platform_impl/quiche_prefetch_impl.h",
"src/common/quiche_circular_deque.h",
@ -431,6 +433,8 @@ source_set("quiche") {
"src/quic/core/quic_config.h",
"src/quic/core/quic_connection.cc",
"src/quic/core/quic_connection.h",
"src/quic/core/quic_connection_context.cc",
"src/quic/core/quic_connection_context.h",
"src/quic/core/quic_connection_id.cc",
"src/quic/core/quic_connection_id.h",
"src/quic/core/quic_connection_id_manager.cc",
@ -1345,6 +1349,7 @@ source_set("quiche_tests") {
"src/quic/core/quic_chaos_protector_test.cc",
"src/quic/core/quic_coalesced_packet_test.cc",
"src/quic/core/quic_config_test.cc",
"src/quic/core/quic_connection_context_test.cc",
"src/quic/core/quic_connection_id_manager_test.cc",
"src/quic/core/quic_connection_id_test.cc",
"src/quic/core/quic_connection_test.cc",

@ -0,0 +1,27 @@
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_THREAD_LOCAL_IMPL_H_
#define NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_THREAD_LOCAL_IMPL_H_
#include "base/no_destructor.h"
#include "base/threading/thread_local.h"
#define DEFINE_QUICHE_THREAD_LOCAL_POINTER_IMPL(name, type) \
struct QuicheThreadLocalPointer_##name { \
static ::base::ThreadLocalPointer<type>* Instance() { \
static ::base::NoDestructor<::base::ThreadLocalPointer<type>> instance; \
return instance.get(); \
} \
static type* Get() { return Instance()->Get(); } \
static void Set(type* ptr) { Instance()->Set(ptr); } \
}
#define GET_QUICHE_THREAD_LOCAL_POINTER_IMPL(name) \
QuicheThreadLocalPointer_##name::Get()
#define SET_QUICHE_THREAD_LOCAL_POINTER_IMPL(name, value) \
QuicheThreadLocalPointer_##name::Set(value)
#endif // NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_THREAD_LOCAL_IMPL_H_