From bb833834f0adefc4930318900b866e9ef0d7033d Mon Sep 17 00:00:00 2001 From: "qqustc@gmail.com" Date: Mon, 20 Sep 2021 12:22:32 -0400 Subject: [PATCH] envoy update Signed-off-by: qqustc@gmail.com --- bazel/repositories.bzl | 4 ++-- extensions_build_config.bzl | 1 + source/client/process_impl.cc | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 1c7e7fcab..e02544cfc 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -1,7 +1,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -ENVOY_COMMIT = "129a9f1139b7bf2d4ef1223e5b04af1ab14d817b" # Sep 13, 2021 -ENVOY_SHA = "18ba32a7c3f4bcf02b0ab021eed6e39cb584e726af584b33d613db1356ed2784" +ENVOY_COMMIT = "037064f27e96bf26d403ff7798aafb67db6d6030" # Sep 20, 2021 +ENVOY_SHA = "187491b0e75943fa98620c969ed321ce4a9643602a5b0a4aeb99f43593512632" HDR_HISTOGRAM_C_VERSION = "0.11.2" # October 12th, 2020 HDR_HISTOGRAM_C_SHA = "637f28b5f64de2e268131e4e34e6eef0b91cf5ff99167db447d9b2825eae6bad" diff --git a/extensions_build_config.bzl b/extensions_build_config.bzl index dc615b919..2bf88eb84 100644 --- a/extensions_build_config.bzl +++ b/extensions_build_config.bzl @@ -16,3 +16,4 @@ DISABLED_BY_DEFAULT_EXTENSIONS = { # need to directly reference Envoy extensions. EXTENSION_CONFIG_VISIBILITY = ["//visibility:public"] EXTENSION_PACKAGE_VISIBILITY = ["//visibility:public"] +CONTRIB_EXTENSION_PACKAGE_VISIBILITY = ["//:contrib_library"] diff --git a/source/client/process_impl.cc b/source/client/process_impl.cc index 80c3d255e..26fe16112 100644 --- a/source/client/process_impl.cc +++ b/source/client/process_impl.cc @@ -124,8 +124,8 @@ class ClusterManagerFactory : public Envoy::Upstream::ProdClusterManagerFactory const Envoy::Http::Protocol& protocol = protocols[0]; if (protocol == Envoy::Http::Protocol::Http11 || protocol == Envoy::Http::Protocol::Http10) { auto* h1_pool = new Http1PoolImpl( - host, priority, dispatcher, options, transport_socket_options, api_.randomGenerator(), - state, + host, priority, dispatcher, options, transport_socket_options, + context_.api().randomGenerator(), state, [](Envoy::Http::HttpConnPoolImplBase* pool) { return std::make_unique(*pool); },