grpc 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +60 -57
- data/include/grpc/grpc_security.h +16 -11
- data/src/core/ext/filters/client_channel/client_channel.cc +32 -26
- data/src/core/ext/filters/client_channel/client_channel.h +0 -2
- data/src/core/ext/filters/client_channel/config_selector.h +1 -1
- data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +2 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +3 -5
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h +1 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +1 -2
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +8 -6
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +289 -170
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +5 -0
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +1 -3
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +231 -109
- data/src/core/ext/filters/client_channel/resolver.cc +2 -5
- data/src/core/ext/filters/client_channel/resolver.h +1 -12
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +36 -45
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +29 -41
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +16 -14
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +18 -15
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +362 -0
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +4 -4
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +22 -74
- data/src/core/ext/filters/client_channel/server_address.cc +6 -0
- data/src/core/ext/filters/client_channel/server_address.h +31 -0
- data/src/core/ext/filters/client_channel/subchannel.cc +2 -2
- data/src/core/ext/filters/max_age/max_age_filter.cc +35 -32
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +47 -22
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +11 -2
- data/src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc +11 -1
- data/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc +62 -18
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +11 -16
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +42 -59
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +3 -2
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +15 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +25 -1
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +75 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +2 -2
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +9 -9
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +7 -7
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +28 -13
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +11 -5
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +41 -7
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +23 -21
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +122 -77
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +13 -9
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +37 -5
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +11 -9
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +44 -27
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +42 -16
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +106 -0
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +29 -0
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +67 -0
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +13 -16
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +51 -42
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +16 -13
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +50 -18
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +4 -7
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -17
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +30 -23
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +85 -73
- data/src/core/ext/upb-generated/envoy/service/endpoint/v3/eds.upb.c +0 -3
- data/src/core/ext/upb-generated/envoy/service/listener/v3/lds.upb.c +0 -3
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/service/route/v3/rds.upb.c +0 -2
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -1
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +21 -4
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +29 -0
- data/src/core/ext/upb-generated/{udpa/core/v1 → xds/core/v3}/authority.upb.c +5 -5
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +60 -0
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +52 -0
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +143 -0
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +42 -0
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +84 -0
- data/src/core/ext/upb-generated/{udpa/core/v1 → xds/core/v3}/resource.upb.c +9 -9
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +94 -0
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +54 -0
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +166 -0
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +36 -0
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +85 -0
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +168 -171
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +405 -420
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +2 -2
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +12 -9
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +177 -171
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +10 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +88 -88
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +153 -153
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +4 -7
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +33 -20
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +56 -59
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +116 -111
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +129 -121
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +21 -24
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +17 -13
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +747 -724
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +22 -25
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +51 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +369 -376
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +12 -16
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +112 -108
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +45 -53
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +177 -180
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +92 -102
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/service/endpoint/v3/eds.upbdefs.c +32 -42
- data/src/core/ext/upbdefs-generated/envoy/service/listener/v3/lds.upbdefs.c +30 -40
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +4 -7
- data/src/core/ext/upbdefs-generated/envoy/service/route/v3/rds.upbdefs.c +38 -44
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +30 -33
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +14 -11
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +42 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +62 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +45 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +49 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +67 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +35 -0
- data/src/core/ext/xds/xds_api.cc +738 -567
- data/src/core/ext/xds/xds_api.h +46 -84
- data/src/core/ext/xds/xds_bootstrap.cc +59 -40
- data/src/core/ext/xds/xds_bootstrap.h +12 -4
- data/src/core/ext/xds/xds_certificate_provider.cc +180 -74
- data/src/core/ext/xds/xds_certificate_provider.h +83 -44
- data/src/core/ext/xds/xds_client.cc +13 -11
- data/src/core/ext/xds/xds_client.h +3 -0
- data/src/core/ext/xds/xds_client_stats.cc +2 -1
- data/src/core/ext/xds/xds_server_config_fetcher.cc +147 -11
- data/src/core/lib/channel/handshaker.cc +2 -5
- data/src/core/lib/channel/handshaker.h +1 -1
- data/src/core/lib/gpr/log.cc +6 -1
- data/src/core/lib/gprpp/mpscq.cc +2 -2
- data/src/core/lib/gprpp/ref_counted.h +1 -1
- data/src/core/lib/gprpp/sync.h +129 -40
- data/src/core/lib/gprpp/time_util.cc +77 -0
- data/src/core/lib/gprpp/time_util.h +42 -0
- data/src/core/lib/http/httpcli_security_connector.cc +2 -2
- data/src/core/lib/iomgr/ev_apple.cc +10 -7
- data/src/core/lib/iomgr/ev_epollex_linux.cc +4 -4
- data/src/core/lib/iomgr/iomgr_posix.cc +0 -1
- data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +0 -1
- data/src/core/lib/iomgr/sockaddr_utils.cc +1 -1
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +1 -0
- data/src/core/lib/iomgr/tcp_client_posix.cc +1 -1
- data/src/core/lib/iomgr/tcp_posix.cc +4 -4
- data/src/core/lib/security/authorization/matchers.cc +339 -0
- data/src/core/lib/security/authorization/matchers.h +158 -0
- data/src/core/lib/security/authorization/mock_cel/activation.h +1 -1
- data/src/core/lib/security/authorization/mock_cel/cel_value.h +9 -7
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +2 -1
- data/src/core/lib/security/credentials/alts/alts_credentials.h +1 -1
- data/src/core/lib/security/credentials/credentials.h +2 -1
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +1 -1
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +2 -2
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +1 -1
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +1 -1
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +1 -1
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +7 -6
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +2 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +0 -3
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +0 -3
- data/src/core/lib/security/credentials/local/local_credentials.cc +2 -1
- data/src/core/lib/security/credentials/local/local_credentials.h +1 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +2 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +1 -1
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +2 -1
- data/src/core/lib/security/credentials/tls/tls_credentials.h +1 -1
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +128 -59
- data/src/core/lib/security/credentials/xds/xds_credentials.h +3 -3
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +5 -5
- data/src/core/lib/security/security_connector/ssl_utils.cc +3 -0
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +26 -14
- data/src/core/lib/security/transport/security_handshaker.cc +1 -3
- data/src/core/lib/slice/slice_intern.cc +1 -1
- data/src/core/lib/surface/init.cc +13 -15
- data/src/core/lib/surface/server.cc +3 -3
- data/src/core/lib/surface/server.h +3 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/metadata.cc +6 -2
- data/src/core/plugin_registry/grpc_plugin_registry.cc +6 -0
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +17 -20
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +16 -21
- data/src/core/tsi/fake_transport_security.cc +1 -1
- data/src/core/tsi/ssl/session_cache/ssl_session.h +0 -3
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +0 -2
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +2 -4
- data/src/core/tsi/ssl_transport_security.cc +0 -3
- data/src/core/tsi/ssl_transport_security.h +0 -3
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +7 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +1 -0
- data/third_party/boringssl-with-bazel/err_data.c +725 -723
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_enum.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_int.c +5 -5
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_object.c +3 -10
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_octet.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +4 -2
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +15 -14
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_locl.h +30 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +28 -79
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +39 -85
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_fre.c +5 -16
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +10 -61
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_typ.c +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_utl.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +158 -0
- data/third_party/boringssl-with-bazel/src/crypto/bn_extra/bn_asn1.c +3 -10
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +8 -9
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +60 -45
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_chacha20poly1305.c +6 -81
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +87 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-win.c +41 -0
- data/third_party/boringssl-with-bazel/src/crypto/{dh → dh_extra}/dh_asn1.c +0 -0
- data/third_party/boringssl-with-bazel/src/crypto/{dh → dh_extra}/params.c +179 -0
- data/third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c +25 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +2 -17
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +3 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +13 -20
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +2 -3
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +9 -1
- data/third_party/boringssl-with-bazel/src/crypto/{dh → fipsmodule/dh}/check.c +0 -0
- data/third_party/boringssl-with-bazel/src/crypto/{dh → fipsmodule/dh}/dh.c +136 -213
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +12 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +9 -1
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +28 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +128 -38
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +0 -7
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +51 -32
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +147 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +18 -29
- data/third_party/boringssl-with-bazel/src/crypto/hpke/internal.h +13 -4
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305.c +10 -7
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_arm.c +13 -11
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_vec.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/passive.c +34 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/rand_extra.c +4 -0
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +7 -13
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +5 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +10 -7
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_r2x.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.c +8 -8
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509cset.c +29 -23
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +1 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +39 -6
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +11 -10
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +3 -3
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +25 -25
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +2 -2
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +2 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +40 -20
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +3 -4
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +25 -36
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +6 -6
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +6 -6
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +3 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +652 -545
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1t.h +0 -167
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +10 -5
- data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +62 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +22 -7
- data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +15 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +56 -26
- data/third_party/boringssl-with-bazel/src/include/openssl/digest.h +1 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +15 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +12 -2
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +3 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +2 -1
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +42 -24
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +27 -8
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +287 -98
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +139 -36
- data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +4 -3
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +11 -20
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +10 -5
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +37 -16
- data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +0 -1
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +7 -8
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +20 -14
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +7 -8
- data/third_party/boringssl-with-bazel/src/ssl/ssl_transcript.cc +2 -2
- data/third_party/boringssl-with-bazel/src/ssl/t1_enc.cc +5 -7
- data/third_party/boringssl-with-bazel/src/ssl/t1_lib.cc +329 -31
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +2 -2
- data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +48 -15
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +66 -24
- metadata +77 -65
- data/src/core/ext/upb-generated/udpa/core/v1/authority.upb.h +0 -60
- data/src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.c +0 -52
- data/src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.h +0 -143
- data/src/core/ext/upb-generated/udpa/core/v1/context_params.upb.c +0 -42
- data/src/core/ext/upb-generated/udpa/core/v1/context_params.upb.h +0 -84
- data/src/core/ext/upb-generated/udpa/core/v1/resource.upb.h +0 -94
- data/src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.c +0 -54
- data/src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.h +0 -173
- data/src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.c +0 -36
- data/src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.h +0 -92
- data/src/core/ext/upbdefs-generated/udpa/core/v1/authority.upbdefs.c +0 -42
- data/src/core/ext/upbdefs-generated/udpa/core/v1/authority.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/udpa/core/v1/collection_entry.upbdefs.c +0 -62
- data/src/core/ext/upbdefs-generated/udpa/core/v1/collection_entry.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/udpa/core/v1/context_params.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/udpa/core/v1/context_params.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/udpa/core/v1/resource.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/udpa/core/v1/resource.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/udpa/core/v1/resource_locator.upbdefs.c +0 -68
- data/src/core/ext/upbdefs-generated/udpa/core/v1/resource_locator.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/udpa/core/v1/resource_name.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/udpa/core/v1/resource_name.upbdefs.h +0 -35
- data/src/core/lib/iomgr/iomgr_posix.h +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8be6341500d52e826fba2ddc391ca09fce6b37be4170e8245bb140678720fe4d
|
4
|
+
data.tar.gz: c2cc7849225919a758c3e554a60d008b1d93c37c75c7aa4bbc848f834e082fa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7597e4355bc6b9482f182da889a6d46cd6c49e2ee32c45bb7693efd058d41ba1d3be25044d71643f7995775c9c3bfa741f8e5024a80f3f9af63d40a38bf4c9f2
|
7
|
+
data.tar.gz: d1e5613566ff78cce667735b79aca42c4ea67da0a07037df9cb3096357261ed61e290fcacfbcf8820318bef728565f628c74138ccf350f429768b223b6ab3d46
|
data/Makefile
CHANGED
@@ -454,9 +454,9 @@ E = @echo
|
|
454
454
|
Q = @
|
455
455
|
endif
|
456
456
|
|
457
|
-
CORE_VERSION =
|
458
|
-
CPP_VERSION = 1.
|
459
|
-
CSHARP_VERSION = 2.
|
457
|
+
CORE_VERSION = 15.0.0
|
458
|
+
CPP_VERSION = 1.36.0
|
459
|
+
CSHARP_VERSION = 2.36.0
|
460
460
|
|
461
461
|
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
|
462
462
|
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
|
@@ -492,7 +492,7 @@ SHARED_EXT_CORE = dll
|
|
492
492
|
SHARED_EXT_CPP = dll
|
493
493
|
SHARED_EXT_CSHARP = dll
|
494
494
|
SHARED_PREFIX =
|
495
|
-
SHARED_VERSION_CORE = -
|
495
|
+
SHARED_VERSION_CORE = -15
|
496
496
|
SHARED_VERSION_CPP = -1
|
497
497
|
SHARED_VERSION_CSHARP = -2
|
498
498
|
else ifeq ($(SYSTEM),Darwin)
|
@@ -891,8 +891,8 @@ $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE):
|
|
891
891
|
ifeq ($(SYSTEM),Darwin)
|
892
892
|
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
893
893
|
else
|
894
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libaddress_sorting.so.
|
895
|
-
$(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so.
|
894
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libaddress_sorting.so.15 -o $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBADDRESS_SORTING_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
895
|
+
$(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so.15
|
896
896
|
$(Q) ln -sf $(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libaddress_sorting$(SHARED_VERSION_CORE).so
|
897
897
|
endif
|
898
898
|
endif
|
@@ -947,6 +947,7 @@ LIBGPR_SRC = \
|
|
947
947
|
src/core/lib/gprpp/stat_windows.cc \
|
948
948
|
src/core/lib/gprpp/thd_posix.cc \
|
949
949
|
src/core/lib/gprpp/thd_windows.cc \
|
950
|
+
src/core/lib/gprpp/time_util.cc \
|
950
951
|
src/core/lib/profiling/basic_timers.cc \
|
951
952
|
src/core/lib/profiling/stap_timers.cc \
|
952
953
|
|
@@ -1019,8 +1020,8 @@ $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGPR_OB
|
|
1019
1020
|
ifeq ($(SYSTEM),Darwin)
|
1020
1021
|
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
1021
1022
|
else
|
1022
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.
|
1023
|
-
$(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.
|
1023
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.15 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
1024
|
+
$(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.15
|
1024
1025
|
$(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so
|
1025
1026
|
endif
|
1026
1027
|
endif
|
@@ -1079,6 +1080,7 @@ LIBGRPC_SRC = \
|
|
1079
1080
|
src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.cc \
|
1080
1081
|
src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc \
|
1081
1082
|
src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc \
|
1083
|
+
src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc \
|
1082
1084
|
src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc \
|
1083
1085
|
src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc \
|
1084
1086
|
src/core/ext/filters/client_channel/resolver_registry.cc \
|
@@ -1169,6 +1171,7 @@ LIBGRPC_SRC = \
|
|
1169
1171
|
src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c \
|
1170
1172
|
src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c \
|
1171
1173
|
src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c \
|
1174
|
+
src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c \
|
1172
1175
|
src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c \
|
1173
1176
|
src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c \
|
1174
1177
|
src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c \
|
@@ -1215,14 +1218,14 @@ LIBGRPC_SRC = \
|
|
1215
1218
|
src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c \
|
1216
1219
|
src/core/ext/upb-generated/udpa/annotations/status.upb.c \
|
1217
1220
|
src/core/ext/upb-generated/udpa/annotations/versioning.upb.c \
|
1218
|
-
src/core/ext/upb-generated/udpa/core/v1/authority.upb.c \
|
1219
|
-
src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.c \
|
1220
|
-
src/core/ext/upb-generated/udpa/core/v1/context_params.upb.c \
|
1221
|
-
src/core/ext/upb-generated/udpa/core/v1/resource.upb.c \
|
1222
|
-
src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.c \
|
1223
|
-
src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.c \
|
1224
1221
|
src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.c \
|
1225
1222
|
src/core/ext/upb-generated/validate/validate.upb.c \
|
1223
|
+
src/core/ext/upb-generated/xds/core/v3/authority.upb.c \
|
1224
|
+
src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c \
|
1225
|
+
src/core/ext/upb-generated/xds/core/v3/context_params.upb.c \
|
1226
|
+
src/core/ext/upb-generated/xds/core/v3/resource.upb.c \
|
1227
|
+
src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c \
|
1228
|
+
src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c \
|
1226
1229
|
src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c \
|
1227
1230
|
src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c \
|
1228
1231
|
src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c \
|
@@ -1254,6 +1257,7 @@ LIBGRPC_SRC = \
|
|
1254
1257
|
src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c \
|
1255
1258
|
src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c \
|
1256
1259
|
src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c \
|
1260
|
+
src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c \
|
1257
1261
|
src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c \
|
1258
1262
|
src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c \
|
1259
1263
|
src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c \
|
@@ -1282,7 +1286,6 @@ LIBGRPC_SRC = \
|
|
1282
1286
|
src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c \
|
1283
1287
|
src/core/ext/upbdefs-generated/google/api/http.upbdefs.c \
|
1284
1288
|
src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c \
|
1285
|
-
src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c \
|
1286
1289
|
src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c \
|
1287
1290
|
src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c \
|
1288
1291
|
src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c \
|
@@ -1294,13 +1297,13 @@ LIBGRPC_SRC = \
|
|
1294
1297
|
src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c \
|
1295
1298
|
src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c \
|
1296
1299
|
src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c \
|
1297
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/authority.upbdefs.c \
|
1298
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/collection_entry.upbdefs.c \
|
1299
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/context_params.upbdefs.c \
|
1300
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/resource.upbdefs.c \
|
1301
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/resource_locator.upbdefs.c \
|
1302
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/resource_name.upbdefs.c \
|
1303
1300
|
src/core/ext/upbdefs-generated/validate/validate.upbdefs.c \
|
1301
|
+
src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c \
|
1302
|
+
src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c \
|
1303
|
+
src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c \
|
1304
|
+
src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c \
|
1305
|
+
src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c \
|
1306
|
+
src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c \
|
1304
1307
|
src/core/ext/xds/certificate_provider_registry.cc \
|
1305
1308
|
src/core/ext/xds/certificate_provider_store.cc \
|
1306
1309
|
src/core/ext/xds/file_watcher_certificate_provider_factory.cc \
|
@@ -1437,6 +1440,7 @@ LIBGRPC_SRC = \
|
|
1437
1440
|
src/core/lib/json/json_writer.cc \
|
1438
1441
|
src/core/lib/security/authorization/authorization_engine.cc \
|
1439
1442
|
src/core/lib/security/authorization/evaluate_args.cc \
|
1443
|
+
src/core/lib/security/authorization/matchers.cc \
|
1440
1444
|
src/core/lib/security/context/security_context.cc \
|
1441
1445
|
src/core/lib/security/credentials/alts/alts_credentials.cc \
|
1442
1446
|
src/core/lib/security/credentials/alts/check_gcp_environment.cc \
|
@@ -1611,8 +1615,8 @@ $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_
|
|
1611
1615
|
ifeq ($(SYSTEM),Darwin)
|
1612
1616
|
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
1613
1617
|
else
|
1614
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.
|
1615
|
-
$(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.
|
1618
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.15 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
1619
|
+
$(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.15
|
1616
1620
|
$(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so
|
1617
1621
|
endif
|
1618
1622
|
endif
|
@@ -1669,8 +1673,8 @@ $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE):
|
|
1669
1673
|
ifeq ($(SYSTEM),Darwin)
|
1670
1674
|
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
1671
1675
|
else
|
1672
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.
|
1673
|
-
$(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so.
|
1676
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.15 -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
1677
|
+
$(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so.15
|
1674
1678
|
$(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so
|
1675
1679
|
endif
|
1676
1680
|
endif
|
@@ -2007,8 +2011,8 @@ $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $
|
|
2007
2011
|
ifeq ($(SYSTEM),Darwin)
|
2008
2012
|
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
2009
2013
|
else
|
2010
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.
|
2011
|
-
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.
|
2014
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.15 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
2015
|
+
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.15
|
2012
2016
|
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so
|
2013
2017
|
endif
|
2014
2018
|
endif
|
@@ -2063,6 +2067,7 @@ LIBBORINGSSL_SRC = \
|
|
2063
2067
|
third_party/boringssl-with-bazel/src/crypto/bio/printf.c \
|
2064
2068
|
third_party/boringssl-with-bazel/src/crypto/bio/socket.c \
|
2065
2069
|
third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c \
|
2070
|
+
third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c \
|
2066
2071
|
third_party/boringssl-with-bazel/src/crypto/bn_extra/bn_asn1.c \
|
2067
2072
|
third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c \
|
2068
2073
|
third_party/boringssl-with-bazel/src/crypto/buf/buf.c \
|
@@ -2087,6 +2092,7 @@ LIBBORINGSSL_SRC = \
|
|
2087
2092
|
third_party/boringssl-with-bazel/src/crypto/conf/conf.c \
|
2088
2093
|
third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-fuchsia.c \
|
2089
2094
|
third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-linux.c \
|
2095
|
+
third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-win.c \
|
2090
2096
|
third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.c \
|
2091
2097
|
third_party/boringssl-with-bazel/src/crypto/cpu-arm.c \
|
2092
2098
|
third_party/boringssl-with-bazel/src/crypto/cpu-intel.c \
|
@@ -2094,10 +2100,8 @@ LIBBORINGSSL_SRC = \
|
|
2094
2100
|
third_party/boringssl-with-bazel/src/crypto/crypto.c \
|
2095
2101
|
third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c \
|
2096
2102
|
third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c \
|
2097
|
-
third_party/boringssl-with-bazel/src/crypto/
|
2098
|
-
third_party/boringssl-with-bazel/src/crypto/
|
2099
|
-
third_party/boringssl-with-bazel/src/crypto/dh/dh_asn1.c \
|
2100
|
-
third_party/boringssl-with-bazel/src/crypto/dh/params.c \
|
2103
|
+
third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c \
|
2104
|
+
third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c \
|
2101
2105
|
third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c \
|
2102
2106
|
third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c \
|
2103
2107
|
third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c \
|
@@ -2156,6 +2160,7 @@ LIBBORINGSSL_SRC = \
|
|
2156
2160
|
third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c \
|
2157
2161
|
third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c \
|
2158
2162
|
third_party/boringssl-with-bazel/src/crypto/rand_extra/fuchsia.c \
|
2163
|
+
third_party/boringssl-with-bazel/src/crypto/rand_extra/passive.c \
|
2159
2164
|
third_party/boringssl-with-bazel/src/crypto/rand_extra/rand_extra.c \
|
2160
2165
|
third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c \
|
2161
2166
|
third_party/boringssl-with-bazel/src/crypto/rc4/rc4.c \
|
@@ -2377,20 +2382,8 @@ LIBUPB_SRC = \
|
|
2377
2382
|
third_party/upb/upb/table.c \
|
2378
2383
|
third_party/upb/upb/text_encode.c \
|
2379
2384
|
third_party/upb/upb/upb.c \
|
2380
|
-
src/core/ext/upb-generated/google/protobuf/any.upb.c \
|
2381
2385
|
src/core/ext/upb-generated/google/protobuf/descriptor.upb.c \
|
2382
|
-
src/core/ext/upb-generated/google/protobuf/duration.upb.c \
|
2383
|
-
src/core/ext/upb-generated/google/protobuf/empty.upb.c \
|
2384
|
-
src/core/ext/upb-generated/google/protobuf/struct.upb.c \
|
2385
|
-
src/core/ext/upb-generated/google/protobuf/timestamp.upb.c \
|
2386
|
-
src/core/ext/upb-generated/google/protobuf/wrappers.upb.c \
|
2387
|
-
src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c \
|
2388
2386
|
src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c \
|
2389
|
-
src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c \
|
2390
|
-
src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c \
|
2391
|
-
src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c \
|
2392
|
-
src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c \
|
2393
|
-
src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c \
|
2394
2387
|
|
2395
2388
|
PUBLIC_HEADERS_C += \
|
2396
2389
|
|
@@ -2420,8 +2413,8 @@ $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBUPB_OB
|
|
2420
2413
|
ifeq ($(SYSTEM),Darwin)
|
2421
2414
|
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
2422
2415
|
else
|
2423
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb.so.
|
2424
|
-
$(Q) ln -sf $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).so.
|
2416
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libupb.so.15 -o $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBUPB_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(RE2_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
2417
|
+
$(Q) ln -sf $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).so.15
|
2425
2418
|
$(Q) ln -sf $(SHARED_PREFIX)upb$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libupb$(SHARED_VERSION_CORE).so
|
2426
2419
|
endif
|
2427
2420
|
endif
|
@@ -2668,6 +2661,7 @@ src/core/ext/filters/client_channel/lb_policy/xds/cds.cc: $(OPENSSL_DEP)
|
|
2668
2661
|
src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc: $(OPENSSL_DEP)
|
2669
2662
|
src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc: $(OPENSSL_DEP)
|
2670
2663
|
src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc: $(OPENSSL_DEP)
|
2664
|
+
src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc: $(OPENSSL_DEP)
|
2671
2665
|
src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc: $(OPENSSL_DEP)
|
2672
2666
|
src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc: $(OPENSSL_DEP)
|
2673
2667
|
src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc: $(OPENSSL_DEP)
|
@@ -2703,6 +2697,7 @@ src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c: $(OPENSSL_DEP)
|
|
2703
2697
|
src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c: $(OPENSSL_DEP)
|
2704
2698
|
src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c: $(OPENSSL_DEP)
|
2705
2699
|
src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c: $(OPENSSL_DEP)
|
2700
|
+
src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c: $(OPENSSL_DEP)
|
2706
2701
|
src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c: $(OPENSSL_DEP)
|
2707
2702
|
src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c: $(OPENSSL_DEP)
|
2708
2703
|
src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c: $(OPENSSL_DEP)
|
@@ -2736,12 +2731,12 @@ src/core/ext/upb-generated/udpa/annotations/security.upb.c: $(OPENSSL_DEP)
|
|
2736
2731
|
src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c: $(OPENSSL_DEP)
|
2737
2732
|
src/core/ext/upb-generated/udpa/annotations/status.upb.c: $(OPENSSL_DEP)
|
2738
2733
|
src/core/ext/upb-generated/udpa/annotations/versioning.upb.c: $(OPENSSL_DEP)
|
2739
|
-
src/core/ext/upb-generated/
|
2740
|
-
src/core/ext/upb-generated/
|
2741
|
-
src/core/ext/upb-generated/
|
2742
|
-
src/core/ext/upb-generated/
|
2743
|
-
src/core/ext/upb-generated/
|
2744
|
-
src/core/ext/upb-generated/
|
2734
|
+
src/core/ext/upb-generated/xds/core/v3/authority.upb.c: $(OPENSSL_DEP)
|
2735
|
+
src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c: $(OPENSSL_DEP)
|
2736
|
+
src/core/ext/upb-generated/xds/core/v3/context_params.upb.c: $(OPENSSL_DEP)
|
2737
|
+
src/core/ext/upb-generated/xds/core/v3/resource.upb.c: $(OPENSSL_DEP)
|
2738
|
+
src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c: $(OPENSSL_DEP)
|
2739
|
+
src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c: $(OPENSSL_DEP)
|
2745
2740
|
src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c: $(OPENSSL_DEP)
|
2746
2741
|
src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c: $(OPENSSL_DEP)
|
2747
2742
|
src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c: $(OPENSSL_DEP)
|
@@ -2773,6 +2768,7 @@ src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c: $(OPENSSL_
|
|
2773
2768
|
src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c: $(OPENSSL_DEP)
|
2774
2769
|
src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c: $(OPENSSL_DEP)
|
2775
2770
|
src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c: $(OPENSSL_DEP)
|
2771
|
+
src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c: $(OPENSSL_DEP)
|
2776
2772
|
src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c: $(OPENSSL_DEP)
|
2777
2773
|
src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c: $(OPENSSL_DEP)
|
2778
2774
|
src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c: $(OPENSSL_DEP)
|
@@ -2800,19 +2796,25 @@ src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c: $(OPENSSL_DEP)
|
|
2800
2796
|
src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c: $(OPENSSL_DEP)
|
2801
2797
|
src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c: $(OPENSSL_DEP)
|
2802
2798
|
src/core/ext/upbdefs-generated/google/api/http.upbdefs.c: $(OPENSSL_DEP)
|
2799
|
+
src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c: $(OPENSSL_DEP)
|
2800
|
+
src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c: $(OPENSSL_DEP)
|
2801
|
+
src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c: $(OPENSSL_DEP)
|
2802
|
+
src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c: $(OPENSSL_DEP)
|
2803
|
+
src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c: $(OPENSSL_DEP)
|
2804
|
+
src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c: $(OPENSSL_DEP)
|
2803
2805
|
src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c: $(OPENSSL_DEP)
|
2804
2806
|
src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c: $(OPENSSL_DEP)
|
2805
2807
|
src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c: $(OPENSSL_DEP)
|
2806
2808
|
src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c: $(OPENSSL_DEP)
|
2807
2809
|
src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c: $(OPENSSL_DEP)
|
2808
2810
|
src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c: $(OPENSSL_DEP)
|
2809
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/authority.upbdefs.c: $(OPENSSL_DEP)
|
2810
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/collection_entry.upbdefs.c: $(OPENSSL_DEP)
|
2811
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/context_params.upbdefs.c: $(OPENSSL_DEP)
|
2812
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/resource.upbdefs.c: $(OPENSSL_DEP)
|
2813
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/resource_locator.upbdefs.c: $(OPENSSL_DEP)
|
2814
|
-
src/core/ext/upbdefs-generated/udpa/core/v1/resource_name.upbdefs.c: $(OPENSSL_DEP)
|
2815
2811
|
src/core/ext/upbdefs-generated/validate/validate.upbdefs.c: $(OPENSSL_DEP)
|
2812
|
+
src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c: $(OPENSSL_DEP)
|
2813
|
+
src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c: $(OPENSSL_DEP)
|
2814
|
+
src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c: $(OPENSSL_DEP)
|
2815
|
+
src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c: $(OPENSSL_DEP)
|
2816
|
+
src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c: $(OPENSSL_DEP)
|
2817
|
+
src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c: $(OPENSSL_DEP)
|
2816
2818
|
src/core/ext/xds/certificate_provider_registry.cc: $(OPENSSL_DEP)
|
2817
2819
|
src/core/ext/xds/certificate_provider_store.cc: $(OPENSSL_DEP)
|
2818
2820
|
src/core/ext/xds/file_watcher_certificate_provider_factory.cc: $(OPENSSL_DEP)
|
@@ -2825,6 +2827,7 @@ src/core/ext/xds/xds_server_config_fetcher.cc: $(OPENSSL_DEP)
|
|
2825
2827
|
src/core/lib/http/httpcli_security_connector.cc: $(OPENSSL_DEP)
|
2826
2828
|
src/core/lib/security/authorization/authorization_engine.cc: $(OPENSSL_DEP)
|
2827
2829
|
src/core/lib/security/authorization/evaluate_args.cc: $(OPENSSL_DEP)
|
2830
|
+
src/core/lib/security/authorization/matchers.cc: $(OPENSSL_DEP)
|
2828
2831
|
src/core/lib/security/context/security_context.cc: $(OPENSSL_DEP)
|
2829
2832
|
src/core/lib/security/credentials/alts/alts_credentials.cc: $(OPENSSL_DEP)
|
2830
2833
|
src/core/lib/security/credentials/alts/check_gcp_environment.cc: $(OPENSSL_DEP)
|
@@ -856,8 +856,8 @@ GRPCAPI grpc_tls_credentials_options* grpc_tls_credentials_options_create(void);
|
|
856
856
|
|
857
857
|
/**
|
858
858
|
* Sets the options of whether to request and verify client certs. This should
|
859
|
-
* be called only on the server side. It
|
860
|
-
*
|
859
|
+
* be called only on the server side. It is used for experimental purpose for
|
860
|
+
* now and subject to change.
|
861
861
|
*/
|
862
862
|
GRPCAPI void grpc_tls_credentials_options_set_cert_request_type(
|
863
863
|
grpc_tls_credentials_options* options,
|
@@ -868,8 +868,7 @@ GRPCAPI void grpc_tls_credentials_options_set_cert_request_type(
|
|
868
868
|
* hostname check, etc. This should be called only on the client side. If
|
869
869
|
* |server_verification_option| is not GRPC_TLS_SERVER_VERIFICATION, use of a
|
870
870
|
* custom authorization check (grpc_tls_server_authorization_check_config) is
|
871
|
-
* mandatory. It
|
872
|
-
* experimental purpose for now and subject to change.
|
871
|
+
* mandatory. It is used for experimental purpose for now and subject to change.
|
873
872
|
*/
|
874
873
|
GRPCAPI void grpc_tls_credentials_options_set_server_verification_option(
|
875
874
|
grpc_tls_credentials_options* options,
|
@@ -878,7 +877,6 @@ GRPCAPI void grpc_tls_credentials_options_set_server_verification_option(
|
|
878
877
|
/**
|
879
878
|
* Sets the credential provider in the options.
|
880
879
|
* The |options| will implicitly take a new ref to the |provider|.
|
881
|
-
* It returns 1 on success and 0 on failure.
|
882
880
|
* It is used for experimental purpose for now and subject to change.
|
883
881
|
*/
|
884
882
|
GRPCAPI void grpc_tls_credentials_options_set_certificate_provider(
|
@@ -887,8 +885,14 @@ GRPCAPI void grpc_tls_credentials_options_set_certificate_provider(
|
|
887
885
|
|
888
886
|
/**
|
889
887
|
* If set, gRPC stack will keep watching the root certificates with
|
890
|
-
* name |root_cert_name|.
|
891
|
-
*
|
888
|
+
* name |root_cert_name|.
|
889
|
+
* If this is not set on the client side, we will use the root certificates
|
890
|
+
* stored in the default system location, since client side must provide root
|
891
|
+
* certificates in TLS.
|
892
|
+
* If this is not set on the server side, we will not watch any root certificate
|
893
|
+
* updates, and assume no root certificates needed for the server(single-side
|
894
|
+
* TLS). Default root certs on the server side is not supported.
|
895
|
+
* It is used for experimental purpose for now and subject to change.
|
892
896
|
*/
|
893
897
|
GRPCAPI void grpc_tls_credentials_options_watch_root_certs(
|
894
898
|
grpc_tls_credentials_options* options);
|
@@ -903,8 +907,9 @@ GRPCAPI void grpc_tls_credentials_options_set_root_cert_name(
|
|
903
907
|
|
904
908
|
/**
|
905
909
|
* If set, gRPC stack will keep watching the identity key-cert pairs
|
906
|
-
* with name |identity_cert_name|.
|
907
|
-
* is
|
910
|
+
* with name |identity_cert_name|.
|
911
|
+
* This is required on the server side, and optional on the client side.
|
912
|
+
* It is used for experimental purpose for now and subject to change.
|
908
913
|
*/
|
909
914
|
GRPCAPI void grpc_tls_credentials_options_watch_identity_key_cert_pairs(
|
910
915
|
grpc_tls_credentials_options* options);
|
@@ -920,8 +925,8 @@ GRPCAPI void grpc_tls_credentials_options_set_identity_cert_name(
|
|
920
925
|
/**
|
921
926
|
* Sets the configuration for a custom authorization check performed at the end
|
922
927
|
* of the handshake. The |options| will implicitly take a new ref to the
|
923
|
-
* |config|.
|
924
|
-
* experimental purpose for now and subject to change.
|
928
|
+
* |config|.
|
929
|
+
* It is used for experimental purpose for now and subject to change.
|
925
930
|
*/
|
926
931
|
GRPCAPI void grpc_tls_credentials_options_set_server_authorization_check_config(
|
927
932
|
grpc_tls_credentials_options* options,
|
@@ -389,7 +389,7 @@ class ChannelData {
|
|
389
389
|
// Fields guarded by a mutex, since they need to be accessed
|
390
390
|
// synchronously via get_channel_info().
|
391
391
|
//
|
392
|
-
|
392
|
+
Mutex info_mu_;
|
393
393
|
UniquePtr<char> info_lb_policy_name_;
|
394
394
|
UniquePtr<char> info_service_config_json_;
|
395
395
|
|
@@ -1047,7 +1047,7 @@ class LoadBalancedCall {
|
|
1047
1047
|
|
1048
1048
|
// Channel arg pointer vtable for GRPC_ARG_CLIENT_CHANNEL_DATA.
|
1049
1049
|
void* ChannelDataArgCopy(void* p) { return p; }
|
1050
|
-
void ChannelDataArgDestroy(void* p) {}
|
1050
|
+
void ChannelDataArgDestroy(void* /*p*/) {}
|
1051
1051
|
int ChannelDataArgCmp(void* p, void* q) { return GPR_ICMP(p, q); }
|
1052
1052
|
const grpc_arg_pointer_vtable kChannelDataArgPointerVtable = {
|
1053
1053
|
ChannelDataArgCopy, ChannelDataArgDestroy, ChannelDataArgCmp};
|
@@ -1079,10 +1079,10 @@ class DynamicTerminationFilterChannelData {
|
|
1079
1079
|
}
|
1080
1080
|
|
1081
1081
|
// Will never be called.
|
1082
|
-
static void StartTransportOp(grpc_channel_element* elem
|
1083
|
-
grpc_transport_op* op) {}
|
1084
|
-
static void GetChannelInfo(grpc_channel_element* elem
|
1085
|
-
const grpc_channel_info* info) {}
|
1082
|
+
static void StartTransportOp(grpc_channel_element* /*elem*/,
|
1083
|
+
grpc_transport_op* /*op*/) {}
|
1084
|
+
static void GetChannelInfo(grpc_channel_element* /*elem*/,
|
1085
|
+
const grpc_channel_info* /*info*/) {}
|
1086
1086
|
|
1087
1087
|
ChannelData* chand() const { return chand_; }
|
1088
1088
|
RefCountedPtr<ServerRetryThrottleData> retry_throttle_data() const {
|
@@ -1117,7 +1117,7 @@ class DynamicTerminationFilterCallData {
|
|
1117
1117
|
}
|
1118
1118
|
|
1119
1119
|
static void Destroy(grpc_call_element* elem,
|
1120
|
-
const grpc_call_final_info* final_info
|
1120
|
+
const grpc_call_final_info* /*final_info*/,
|
1121
1121
|
grpc_closure* then_schedule_closure) {
|
1122
1122
|
auto* calld =
|
1123
1123
|
static_cast<DynamicTerminationFilterCallData*>(elem->call_data);
|
@@ -1885,8 +1885,6 @@ ChannelData::ChannelData(grpc_channel_element_args* args, grpc_error** error)
|
|
1885
1885
|
gpr_log(GPR_INFO, "chand=%p: creating client_channel for channel stack %p",
|
1886
1886
|
this, owning_stack_);
|
1887
1887
|
}
|
1888
|
-
// Initialize data members.
|
1889
|
-
gpr_mu_init(&info_mu_);
|
1890
1888
|
// Start backup polling.
|
1891
1889
|
grpc_client_channel_start_backup_polling(interested_parties_);
|
1892
1890
|
// Check client channel factory.
|
@@ -1955,7 +1953,6 @@ ChannelData::~ChannelData() {
|
|
1955
1953
|
grpc_client_channel_stop_backup_polling(interested_parties_);
|
1956
1954
|
grpc_pollset_set_destroy(interested_parties_);
|
1957
1955
|
GRPC_ERROR_UNREF(disconnect_error_.Load(MemoryOrder::RELAXED));
|
1958
|
-
gpr_mu_destroy(&info_mu_);
|
1959
1956
|
}
|
1960
1957
|
|
1961
1958
|
RefCountedPtr<LoadBalancingPolicy::Config> ChooseLbPolicy(
|
@@ -2391,10 +2388,23 @@ void ChannelData::UpdateStateAndPickerLocked(
|
|
2391
2388
|
grpc_connectivity_state state, const absl::Status& status,
|
2392
2389
|
const char* reason,
|
2393
2390
|
std::unique_ptr<LoadBalancingPolicy::SubchannelPicker> picker) {
|
2394
|
-
//
|
2391
|
+
// Special case for IDLE and SHUTDOWN states.
|
2395
2392
|
if (picker == nullptr || state == GRPC_CHANNEL_SHUTDOWN) {
|
2396
2393
|
saved_service_config_.reset();
|
2397
2394
|
saved_config_selector_.reset();
|
2395
|
+
// Acquire resolution lock to update config selector and associated state.
|
2396
|
+
// To minimize lock contention, we wait to unref these objects until
|
2397
|
+
// after we release the lock.
|
2398
|
+
RefCountedPtr<ServiceConfig> service_config_to_unref;
|
2399
|
+
RefCountedPtr<ConfigSelector> config_selector_to_unref;
|
2400
|
+
RefCountedPtr<DynamicFilters> dynamic_filters_to_unref;
|
2401
|
+
{
|
2402
|
+
MutexLock lock(&resolution_mu_);
|
2403
|
+
received_service_config_data_ = false;
|
2404
|
+
service_config_to_unref = std::move(service_config_);
|
2405
|
+
config_selector_to_unref = std::move(config_selector_);
|
2406
|
+
dynamic_filters_to_unref = std::move(dynamic_filters_);
|
2407
|
+
}
|
2398
2408
|
}
|
2399
2409
|
// Update connectivity state.
|
2400
2410
|
state_tracker_.SetState(state, status, reason);
|
@@ -2414,13 +2424,7 @@ void ChannelData::UpdateStateAndPickerLocked(
|
|
2414
2424
|
// the refs until after we release the lock, and then unref them at
|
2415
2425
|
// that point. This includes the following:
|
2416
2426
|
// - refs to subchannel wrappers in the keys of pending_subchannel_updates_
|
2417
|
-
// - ref stored in service_config_
|
2418
|
-
// - ref stored in config_selector_
|
2419
|
-
// - ref stored in dynamic_filters_
|
2420
2427
|
// - ownership of the existing picker in picker_
|
2421
|
-
RefCountedPtr<ServiceConfig> service_config_to_unref;
|
2422
|
-
RefCountedPtr<ConfigSelector> config_selector_to_unref;
|
2423
|
-
RefCountedPtr<DynamicFilters> dynamic_filters_to_unref;
|
2424
2428
|
{
|
2425
2429
|
MutexLock lock(&data_plane_mu_);
|
2426
2430
|
// Handle subchannel updates.
|
@@ -2439,14 +2443,6 @@ void ChannelData::UpdateStateAndPickerLocked(
|
|
2439
2443
|
// Swap out the picker.
|
2440
2444
|
// Note: Original value will be destroyed after the lock is released.
|
2441
2445
|
picker_.swap(picker);
|
2442
|
-
// Clean the data plane if the updated picker is nullptr.
|
2443
|
-
if (picker_ == nullptr || state == GRPC_CHANNEL_SHUTDOWN) {
|
2444
|
-
received_service_config_data_ = false;
|
2445
|
-
// Note: We save the objects to unref until after the lock is released.
|
2446
|
-
service_config_to_unref = std::move(service_config_);
|
2447
|
-
config_selector_to_unref = std::move(config_selector_);
|
2448
|
-
dynamic_filters_to_unref = std::move(dynamic_filters_);
|
2449
|
-
}
|
2450
2446
|
// Re-process queued picks.
|
2451
2447
|
for (LbQueuedCall* call = lb_queued_calls_; call != nullptr;
|
2452
2448
|
call = call->next) {
|
@@ -2651,7 +2647,11 @@ CallData::CallData(grpc_call_element* elem, const ChannelData& chand,
|
|
2651
2647
|
arena_(args.arena),
|
2652
2648
|
owning_call_(args.call_stack),
|
2653
2649
|
call_combiner_(args.call_combiner),
|
2654
|
-
call_context_(args.context) {
|
2650
|
+
call_context_(args.context) {
|
2651
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_call_trace)) {
|
2652
|
+
gpr_log(GPR_INFO, "chand=%p calld=%p: created call", &chand, this);
|
2653
|
+
}
|
2654
|
+
}
|
2655
2655
|
|
2656
2656
|
CallData::~CallData() {
|
2657
2657
|
grpc_slice_unref_internal(path_);
|
@@ -3166,6 +3166,12 @@ void CallData::CreateDynamicCall(grpc_call_element* elem) {
|
|
3166
3166
|
call_combiner_};
|
3167
3167
|
grpc_error* error = GRPC_ERROR_NONE;
|
3168
3168
|
DynamicFilters* channel_stack = args.channel_stack.get();
|
3169
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_routing_trace)) {
|
3170
|
+
gpr_log(
|
3171
|
+
GPR_INFO,
|
3172
|
+
"chand=%p calld=%p: creating dynamic call stack on channel_stack=%p",
|
3173
|
+
chand, this, channel_stack);
|
3174
|
+
}
|
3169
3175
|
dynamic_call_ = channel_stack->CreateCall(std::move(args), &error);
|
3170
3176
|
if (error != GRPC_ERROR_NONE) {
|
3171
3177
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_routing_trace)) {
|