Skip to content

Commit 3360f6d

Browse files
committed
Sync c-core 1.73.0-pre2
1 parent adc19a8 commit 3360f6d

14 files changed

+14
-46
lines changed

gRPC-C++.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Pod::Spec.new do |s|
2323
s.name = 'gRPC-C++'
2424
# TODO (mxyan): use version that match gRPC version when pod is stabilized
25-
version = '1.73.0-pre1'
25+
version = '1.73.0-pre2'
2626
s.version = version
2727
s.summary = 'gRPC C++ library'
2828
s.homepage = 'https://grpc.io'

gRPC-Core.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
Pod::Spec.new do |s|
2323
s.name = 'gRPC-Core'
24-
version = '1.73.0-pre1'
24+
version = '1.73.0-pre2'
2525
s.version = version
2626
s.summary = 'Core cross-platform gRPC library, written in C'
2727
s.homepage = 'https://grpc.io'

gRPC-ProtoRPC.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
Pod::Spec.new do |s|
2323
s.name = 'gRPC-ProtoRPC'
24-
version = '1.73.0-pre1'
24+
version = '1.73.0-pre2'
2525
s.version = version
2626
s.summary = 'RPC library for Protocol Buffers, based on gRPC'
2727
s.homepage = 'https://grpc.io'

gRPC-RxLibrary.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
Pod::Spec.new do |s|
2323
s.name = 'gRPC-RxLibrary'
24-
version = '1.73.0-pre1'
24+
version = '1.73.0-pre2'
2525
s.version = version
2626
s.summary = 'Reactive Extensions library for iOS/OSX.'
2727
s.homepage = 'https://grpc.io'

gRPC.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
Pod::Spec.new do |s|
2222
s.name = 'gRPC'
23-
version = '1.73.0-pre1'
23+
version = '1.73.0-pre2'
2424
s.version = version
2525
s.summary = 'gRPC client library for iOS/OSX'
2626
s.homepage = 'https://grpc.io'

include/grpcpp/version_info.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define GRPC_CPP_VERSION_MAJOR 1
2222
#define GRPC_CPP_VERSION_MINOR 73
2323
#define GRPC_CPP_VERSION_PATCH 0
24-
#define GRPC_CPP_VERSION_TAG "pre1"
25-
#define GRPC_CPP_VERSION_STRING "1.73.0-pre1"
24+
#define GRPC_CPP_VERSION_TAG "pre2"
25+
#define GRPC_CPP_VERSION_STRING "1.73.0-pre2"
2626

2727
#endif // GRPCPP_VERSION_INFO_H

src/core/xds/grpc/xds_common_types_parser.cc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,6 @@ std::optional<grpc_resolved_address> ParseXdsAddress(
113113

114114
namespace {
115115

116-
bool XdsSystemRootCertsEnabled() {
117-
auto value = GetEnv("GRPC_EXPERIMENTAL_XDS_SYSTEM_ROOT_CERTS");
118-
if (!value.has_value()) return false;
119-
bool parsed_value;
120-
bool parse_succeeded = gpr_parse_bool_value(value->c_str(), &parsed_value);
121-
return parse_succeeded && parsed_value;
122-
}
123-
124116
// CertificateProviderInstance is deprecated but we are still supporting it for
125117
// backward compatibility reasons. Note that we still parse the data into the
126118
// same CertificateProviderPluginInstance struct since the fields are the same.
@@ -250,7 +242,7 @@ CertificateValidationContextParse(
250242
certificate_validation_context.ca_certs =
251243
CertificateProviderPluginInstanceParse(
252244
context, ca_certificate_provider_instance, errors);
253-
} else if (XdsSystemRootCertsEnabled()) {
245+
} else {
254246
auto* system_root_certs =
255247
envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_system_root_certs(
256248
certificate_validation_context_proto);

src/core/xds/grpc/xds_http_filter_registry.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ XdsHttpFilterRegistry::XdsHttpFilterRegistry(bool register_builtins) {
9090
RegisterFilter(std::make_unique<XdsHttpFaultFilter>());
9191
RegisterFilter(std::make_unique<XdsHttpRbacFilter>());
9292
RegisterFilter(std::make_unique<XdsHttpStatefulSessionFilter>());
93-
if (XdsGcpAuthFilterEnabled()) {
94-
RegisterFilter(std::make_unique<XdsHttpGcpAuthnFilter>());
95-
}
93+
RegisterFilter(std::make_unique<XdsHttpGcpAuthnFilter>());
9694
}
9795
}
9896

src/core/xds/grpc/xds_metadata_parser.cc

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@
4141

4242
namespace grpc_core {
4343

44-
// TODO(roth): Remove this once GCP auth filter support is stable.
45-
bool XdsGcpAuthFilterEnabled() {
46-
auto value = GetEnv("GRPC_EXPERIMENTAL_XDS_GCP_AUTHENTICATION_FILTER");
47-
if (!value.has_value()) return false;
48-
bool parsed_value;
49-
bool parse_succeeded = gpr_parse_bool_value(value->c_str(), &parsed_value);
50-
return parse_succeeded && parsed_value;
51-
}
52-
5344
namespace {
5445

5546
std::unique_ptr<XdsMetadataValue> ParseGcpAuthnAudience(
@@ -146,8 +137,7 @@ XdsMetadataMap ParseXdsMetadataMap(
146137
// TODO(roth): If we start to need a lot of types here, refactor
147138
// this into a separate registry.
148139
std::unique_ptr<XdsMetadataValue> metadata_value;
149-
if (XdsGcpAuthFilterEnabled() &&
150-
extension->type == XdsGcpAuthnAudienceMetadataValue::Type()) {
140+
if (extension->type == XdsGcpAuthnAudienceMetadataValue::Type()) {
151141
metadata_value =
152142
ParseGcpAuthnAudience(context, std::move(*extension), errors);
153143
} else if (XdsHttpConnectEnabled() &&

src/core/xds/grpc/xds_metadata_parser.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace grpc_core {
2626

27-
bool XdsGcpAuthFilterEnabled();
28-
2927
XdsMetadataMap ParseXdsMetadataMap(
3028
const XdsResourceType::DecodeContext& context,
3129
const envoy_config_core_v3_Metadata* metadata, ValidationErrors* errors);

0 commit comments

Comments
 (0)