grpc 1.60.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +208 -165
- data/include/grpc/event_engine/event_engine.h +59 -12
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +6 -0
- data/include/grpc/event_engine/internal/slice_cast.h +12 -0
- data/include/grpc/event_engine/memory_allocator.h +3 -1
- data/include/grpc/event_engine/slice.h +5 -0
- data/include/grpc/grpc_security.h +22 -1
- data/include/grpc/impl/call.h +29 -0
- data/include/grpc/impl/channel_arg_names.h +12 -1
- data/include/grpc/impl/slice_type.h +1 -1
- data/include/grpc/module.modulemap +1 -0
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +54 -7
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +20 -6
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +10 -13
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +18 -10
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +326 -0
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +143 -0
- data/src/core/ext/filters/client_channel/backend_metric.cc +2 -2
- data/src/core/ext/filters/client_channel/client_channel.cc +32 -6
- data/src/core/ext/filters/client_channel/client_channel_internal.h +2 -0
- data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +54 -21
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +3 -2
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +2 -1
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +12 -15
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +8 -5
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +139 -92
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +9 -4
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +9 -4
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +10 -11
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +94 -93
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +5 -3
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +12 -15
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +38 -16
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +25 -28
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +10 -10
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +37 -35
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +11 -9
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +504 -461
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +232 -122
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +8 -6
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +642 -251
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h +2 -6
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +7 -8
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +2 -1
- data/src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +3 -1
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +2 -2
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +2 -2
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +6 -8
- data/src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.cc +1031 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.h +277 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +128 -270
- data/src/core/ext/filters/client_channel/resolver/xds/{xds_resolver.h → xds_resolver_attributes.h} +5 -4
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.cc +25 -0
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.h +30 -0
- data/src/core/ext/filters/client_channel/retry_filter.cc +1 -0
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +35 -17
- data/src/core/ext/filters/deadline/deadline_filter.cc +12 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +17 -13
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -4
- data/src/core/ext/filters/http/client/http_client_filter.cc +23 -32
- data/src/core/ext/filters/http/client/http_client_filter.h +10 -5
- data/src/core/ext/filters/http/client_authority_filter.cc +14 -14
- data/src/core/ext/filters/http/client_authority_filter.h +12 -4
- data/src/core/ext/filters/http/http_filters_plugin.cc +42 -20
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +55 -80
- data/src/core/ext/filters/http/message_compress/compression_filter.h +54 -12
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.cc +325 -0
- data/src/core/ext/filters/http/message_compress/legacy_compression_filter.h +139 -0
- data/src/core/ext/filters/http/server/http_server_filter.cc +41 -41
- data/src/core/ext/filters/http/server/http_server_filter.h +11 -4
- data/src/core/ext/filters/message_size/message_size_filter.cc +56 -76
- data/src/core/ext/filters/message_size/message_size_filter.h +35 -23
- data/src/core/ext/filters/rbac/rbac_filter.cc +15 -11
- data/src/core/ext/filters/rbac/rbac_filter.h +11 -4
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +25 -13
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +47 -50
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +21 -4
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +1 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +2 -2
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +11 -2
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +67 -145
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -3
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +21 -82
- data/src/core/ext/transport/chttp2/transport/flow_control.h +1 -8
- data/src/core/ext/transport/chttp2/transport/frame.cc +506 -0
- data/src/core/ext/transport/chttp2/transport/frame.h +214 -0
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +33 -79
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +4 -7
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +122 -32
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +142 -37
- data/src/core/ext/transport/chttp2/transport/internal.h +1 -22
- data/src/core/ext/transport/chttp2/transport/parsing.cc +23 -37
- data/src/core/ext/transport/chttp2/transport/writing.cc +26 -58
- data/src/core/ext/transport/inproc/inproc_transport.cc +172 -13
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +712 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +151 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +33 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +133 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +50 -0
- data/src/core/ext/xds/certificate_provider_store.cc +2 -1
- data/src/core/ext/xds/certificate_provider_store.h +0 -5
- data/src/core/ext/xds/xds_api.cc +31 -18
- data/src/core/ext/xds/xds_api.h +2 -2
- data/src/core/ext/xds/xds_bootstrap.h +3 -0
- data/src/core/ext/xds/xds_certificate_provider.cc +88 -287
- data/src/core/ext/xds/xds_certificate_provider.h +44 -111
- data/src/core/ext/xds/xds_client.cc +420 -414
- data/src/core/ext/xds/xds_client.h +31 -22
- data/src/core/ext/xds/xds_client_grpc.cc +3 -1
- data/src/core/ext/xds/xds_cluster.cc +104 -11
- data/src/core/ext/xds/xds_cluster.h +9 -1
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +9 -5
- data/src/core/ext/xds/xds_common_types.cc +14 -10
- data/src/core/ext/xds/xds_endpoint.cc +9 -4
- data/src/core/ext/xds/xds_endpoint.h +5 -1
- data/src/core/ext/xds/xds_health_status.cc +12 -2
- data/src/core/ext/xds/xds_health_status.h +4 -2
- data/src/core/ext/xds/xds_http_rbac_filter.cc +5 -3
- data/src/core/ext/xds/xds_listener.cc +14 -8
- data/src/core/ext/xds/xds_resource_type_impl.h +6 -4
- data/src/core/ext/xds/xds_route_config.cc +34 -22
- data/src/core/ext/xds/xds_route_config.h +1 -0
- data/src/core/ext/xds/xds_server_config_fetcher.cc +61 -57
- data/src/core/ext/xds/xds_transport.h +3 -0
- data/src/core/ext/xds/xds_transport_grpc.cc +47 -50
- data/src/core/ext/xds/xds_transport_grpc.h +4 -0
- data/src/core/lib/channel/call_tracer.cc +12 -0
- data/src/core/lib/channel/call_tracer.h +17 -3
- data/src/core/lib/channel/channel_args.cc +24 -14
- data/src/core/lib/channel/channel_args.h +74 -13
- data/src/core/lib/channel/channel_stack.cc +27 -0
- data/src/core/lib/channel/channel_stack.h +10 -10
- data/src/core/lib/channel/connected_channel.cc +64 -18
- data/src/core/lib/channel/promise_based_filter.h +1041 -1
- data/src/core/lib/channel/server_call_tracer_filter.cc +43 -35
- data/src/core/lib/compression/compression_internal.cc +0 -3
- data/src/core/lib/event_engine/ares_resolver.cc +35 -14
- data/src/core/lib/event_engine/ares_resolver.h +9 -10
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +8 -1
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +132 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +61 -0
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +52 -36
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +4 -9
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +11 -3
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +9 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -0
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +17 -27
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -3
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +55 -0
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +114 -0
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +51 -0
- data/src/core/lib/event_engine/windows/windows_engine.cc +7 -7
- data/src/core/lib/experiments/config.cc +13 -0
- data/src/core/lib/experiments/config.h +3 -0
- data/src/core/lib/experiments/experiments.cc +245 -366
- data/src/core/lib/experiments/experiments.h +50 -156
- data/src/core/lib/gprpp/debug_location.h +13 -0
- data/src/core/lib/gprpp/dual_ref_counted.h +36 -7
- data/src/core/lib/gprpp/orphanable.h +27 -0
- data/src/core/lib/gprpp/ref_counted.h +63 -22
- data/src/core/lib/gprpp/ref_counted_ptr.h +70 -27
- data/src/core/lib/gprpp/ref_counted_string.h +13 -0
- data/src/core/lib/gprpp/status_helper.cc +1 -2
- data/src/core/lib/iomgr/combiner.cc +15 -51
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +31 -0
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +16 -0
- data/src/core/lib/iomgr/tcp_client_posix.cc +4 -3
- data/src/core/lib/load_balancing/lb_policy.h +1 -1
- data/src/core/lib/promise/activity.cc +17 -2
- data/src/core/lib/promise/activity.h +5 -4
- data/src/core/lib/promise/all_ok.h +80 -0
- data/src/core/lib/promise/detail/join_state.h +2077 -0
- data/src/core/lib/promise/detail/promise_factory.h +1 -0
- data/src/core/lib/promise/detail/promise_like.h +8 -1
- data/src/core/lib/promise/detail/seq_state.h +3458 -150
- data/src/core/lib/promise/detail/status.h +42 -5
- data/src/core/lib/promise/for_each.h +13 -1
- data/src/core/lib/promise/if.h +4 -0
- data/src/core/lib/promise/latch.h +6 -3
- data/src/core/lib/promise/party.cc +33 -31
- data/src/core/lib/promise/party.h +142 -6
- data/src/core/lib/promise/poll.h +39 -13
- data/src/core/lib/promise/promise.h +4 -0
- data/src/core/lib/promise/seq.h +107 -7
- data/src/core/lib/promise/status_flag.h +196 -0
- data/src/core/lib/promise/try_join.h +132 -0
- data/src/core/lib/promise/try_seq.h +132 -10
- data/src/core/lib/resolver/endpoint_addresses.cc +0 -1
- data/src/core/lib/resolver/endpoint_addresses.h +48 -0
- data/src/core/lib/resource_quota/arena.h +2 -2
- data/src/core/lib/resource_quota/memory_quota.cc +57 -8
- data/src/core/lib/resource_quota/memory_quota.h +6 -0
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +14 -11
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +14 -5
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +4 -0
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +28 -20
- data/src/core/lib/security/credentials/external/external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +4 -0
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +4 -0
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +4 -0
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +12 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +22 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +1 -5
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +16 -0
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +21 -28
- data/src/core/lib/security/credentials/xds/xds_credentials.h +2 -4
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +4 -3
- data/src/core/lib/security/transport/auth_filters.h +71 -4
- data/src/core/lib/security/transport/client_auth_filter.cc +2 -4
- data/src/core/lib/security/transport/legacy_server_auth_filter.cc +244 -0
- data/src/core/lib/security/transport/server_auth_filter.cc +70 -90
- data/src/core/lib/slice/slice_buffer.h +3 -0
- data/src/core/lib/surface/builtins.cc +1 -1
- data/src/core/lib/surface/call.cc +683 -196
- data/src/core/lib/surface/call.h +26 -13
- data/src/core/lib/surface/call_trace.cc +42 -1
- data/src/core/lib/surface/channel.cc +0 -1
- data/src/core/lib/surface/channel.h +0 -6
- data/src/core/lib/surface/channel_init.h +26 -0
- data/src/core/lib/surface/init.cc +14 -8
- data/src/core/lib/surface/server.cc +256 -237
- data/src/core/lib/surface/server.h +26 -54
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/surface/wait_for_cq_end_op.h +94 -0
- data/src/core/lib/transport/call_final_info.cc +38 -0
- data/src/core/lib/transport/call_final_info.h +54 -0
- data/src/core/lib/transport/connectivity_state.cc +3 -2
- data/src/core/lib/transport/connectivity_state.h +4 -0
- data/src/core/lib/transport/metadata_batch.h +4 -4
- data/src/core/lib/transport/transport.cc +70 -19
- data/src/core/lib/transport/transport.h +395 -25
- data/src/core/plugin_registry/grpc_plugin_registry.cc +3 -0
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -3
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +1 -1
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +1 -1
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +1 -1
- data/src/core/tsi/ssl_transport_security.cc +65 -43
- data/src/ruby/ext/grpc/rb_channel_args.c +3 -1
- data/src/ruby/ext/grpc/rb_grpc.c +0 -1
- data/src/ruby/ext/grpc/rb_grpc.h +0 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/third_party/upb/upb/reflection/def_pool.h +2 -2
- data/third_party/zlib/adler32.c +5 -27
- data/third_party/zlib/compress.c +5 -16
- data/third_party/zlib/crc32.c +86 -162
- data/third_party/zlib/deflate.c +233 -336
- data/third_party/zlib/deflate.h +8 -8
- data/third_party/zlib/gzguts.h +11 -12
- data/third_party/zlib/infback.c +7 -23
- data/third_party/zlib/inffast.c +1 -4
- data/third_party/zlib/inffast.h +1 -1
- data/third_party/zlib/inflate.c +30 -99
- data/third_party/zlib/inftrees.c +6 -11
- data/third_party/zlib/inftrees.h +3 -3
- data/third_party/zlib/trees.c +224 -302
- data/third_party/zlib/uncompr.c +4 -12
- data/third_party/zlib/zconf.h +6 -2
- data/third_party/zlib/zlib.h +191 -188
- data/third_party/zlib/zutil.c +16 -44
- data/third_party/zlib/zutil.h +10 -10
- metadata +35 -13
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1173
- data/src/core/lib/event_engine/memory_allocator.cc +0 -74
- data/src/core/lib/transport/pid_controller.cc +0 -51
- data/src/core/lib/transport/pid_controller.h +0 -116
- data/third_party/upb/upb/collections/array.h +0 -17
- data/third_party/upb/upb/collections/map.h +0 -17
- data/third_party/upb/upb/upb.hpp +0 -18
data/third_party/zlib/zutil.c
CHANGED
@@ -24,13 +24,11 @@ z_const char * const z_errmsg[10] = {
|
|
24
24
|
};
|
25
25
|
|
26
26
|
|
27
|
-
const char * ZEXPORT zlibVersion()
|
28
|
-
{
|
27
|
+
const char * ZEXPORT zlibVersion(void) {
|
29
28
|
return ZLIB_VERSION;
|
30
29
|
}
|
31
30
|
|
32
|
-
uLong ZEXPORT zlibCompileFlags()
|
33
|
-
{
|
31
|
+
uLong ZEXPORT zlibCompileFlags(void) {
|
34
32
|
uLong flags;
|
35
33
|
|
36
34
|
flags = 0;
|
@@ -121,9 +119,7 @@ uLong ZEXPORT zlibCompileFlags()
|
|
121
119
|
# endif
|
122
120
|
int ZLIB_INTERNAL z_verbose = verbose;
|
123
121
|
|
124
|
-
void ZLIB_INTERNAL z_error(m)
|
125
|
-
char *m;
|
126
|
-
{
|
122
|
+
void ZLIB_INTERNAL z_error(char *m) {
|
127
123
|
fprintf(stderr, "%s\n", m);
|
128
124
|
exit(1);
|
129
125
|
}
|
@@ -132,9 +128,7 @@ void ZLIB_INTERNAL z_error(m)
|
|
132
128
|
/* exported to allow conversion of error code to string for compress() and
|
133
129
|
* uncompress()
|
134
130
|
*/
|
135
|
-
const char * ZEXPORT zError(err)
|
136
|
-
int err;
|
137
|
-
{
|
131
|
+
const char * ZEXPORT zError(int err) {
|
138
132
|
return ERR_MSG(err);
|
139
133
|
}
|
140
134
|
|
@@ -148,22 +142,14 @@ const char * ZEXPORT zError(err)
|
|
148
142
|
|
149
143
|
#ifndef HAVE_MEMCPY
|
150
144
|
|
151
|
-
void ZLIB_INTERNAL zmemcpy(dest, source, len)
|
152
|
-
Bytef* dest;
|
153
|
-
const Bytef* source;
|
154
|
-
uInt len;
|
155
|
-
{
|
145
|
+
void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len) {
|
156
146
|
if (len == 0) return;
|
157
147
|
do {
|
158
148
|
*dest++ = *source++; /* ??? to be unrolled */
|
159
149
|
} while (--len != 0);
|
160
150
|
}
|
161
151
|
|
162
|
-
int ZLIB_INTERNAL zmemcmp(s1, s2, len)
|
163
|
-
const Bytef* s1;
|
164
|
-
const Bytef* s2;
|
165
|
-
uInt len;
|
166
|
-
{
|
152
|
+
int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len) {
|
167
153
|
uInt j;
|
168
154
|
|
169
155
|
for (j = 0; j < len; j++) {
|
@@ -172,10 +158,7 @@ int ZLIB_INTERNAL zmemcmp(s1, s2, len)
|
|
172
158
|
return 0;
|
173
159
|
}
|
174
160
|
|
175
|
-
void ZLIB_INTERNAL zmemzero(dest, len)
|
176
|
-
Bytef* dest;
|
177
|
-
uInt len;
|
178
|
-
{
|
161
|
+
void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) {
|
179
162
|
if (len == 0) return;
|
180
163
|
do {
|
181
164
|
*dest++ = 0; /* ??? to be unrolled */
|
@@ -216,8 +199,7 @@ local ptr_table table[MAX_PTR];
|
|
216
199
|
* a protected system like OS/2. Use Microsoft C instead.
|
217
200
|
*/
|
218
201
|
|
219
|
-
voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size)
|
220
|
-
{
|
202
|
+
voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size) {
|
221
203
|
voidpf buf;
|
222
204
|
ulg bsize = (ulg)items*size;
|
223
205
|
|
@@ -242,8 +224,7 @@ voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size)
|
|
242
224
|
return buf;
|
243
225
|
}
|
244
226
|
|
245
|
-
void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr)
|
246
|
-
{
|
227
|
+
void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) {
|
247
228
|
int n;
|
248
229
|
|
249
230
|
(void)opaque;
|
@@ -279,14 +260,12 @@ void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr)
|
|
279
260
|
# define _hfree hfree
|
280
261
|
#endif
|
281
262
|
|
282
|
-
voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, uInt items, uInt size)
|
283
|
-
{
|
263
|
+
voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, uInt items, uInt size) {
|
284
264
|
(void)opaque;
|
285
265
|
return _halloc((long)items, size);
|
286
266
|
}
|
287
267
|
|
288
|
-
void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr)
|
289
|
-
{
|
268
|
+
void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) {
|
290
269
|
(void)opaque;
|
291
270
|
_hfree(ptr);
|
292
271
|
}
|
@@ -299,25 +278,18 @@ void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr)
|
|
299
278
|
#ifndef MY_ZCALLOC /* Any system without a special alloc function */
|
300
279
|
|
301
280
|
#ifndef STDC
|
302
|
-
extern voidp
|
303
|
-
extern voidp
|
304
|
-
extern void
|
281
|
+
extern voidp malloc(uInt size);
|
282
|
+
extern voidp calloc(uInt items, uInt size);
|
283
|
+
extern void free(voidpf ptr);
|
305
284
|
#endif
|
306
285
|
|
307
|
-
voidpf ZLIB_INTERNAL zcalloc(opaque, items, size)
|
308
|
-
voidpf opaque;
|
309
|
-
unsigned items;
|
310
|
-
unsigned size;
|
311
|
-
{
|
286
|
+
voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size) {
|
312
287
|
(void)opaque;
|
313
288
|
return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
|
314
289
|
(voidpf)calloc(items, size);
|
315
290
|
}
|
316
291
|
|
317
|
-
void ZLIB_INTERNAL zcfree(opaque, ptr)
|
318
|
-
voidpf opaque;
|
319
|
-
voidpf ptr;
|
320
|
-
{
|
292
|
+
void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) {
|
321
293
|
(void)opaque;
|
322
294
|
free(ptr);
|
323
295
|
}
|
data/third_party/zlib/zutil.h
CHANGED
@@ -191,9 +191,9 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
|
191
191
|
/* provide prototypes for these when building zlib without LFS */
|
192
192
|
#if !defined(_WIN32) && \
|
193
193
|
(!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
|
194
|
-
ZEXTERN uLong ZEXPORT adler32_combine64
|
195
|
-
ZEXTERN uLong ZEXPORT crc32_combine64
|
196
|
-
ZEXTERN uLong ZEXPORT crc32_combine_gen64
|
194
|
+
ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off_t);
|
195
|
+
ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off_t);
|
196
|
+
ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off_t);
|
197
197
|
#endif
|
198
198
|
|
199
199
|
/* common defaults */
|
@@ -232,16 +232,16 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
|
232
232
|
# define zmemzero(dest, len) memset(dest, 0, len)
|
233
233
|
# endif
|
234
234
|
#else
|
235
|
-
void ZLIB_INTERNAL zmemcpy
|
236
|
-
int ZLIB_INTERNAL zmemcmp
|
237
|
-
void ZLIB_INTERNAL zmemzero
|
235
|
+
void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len);
|
236
|
+
int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len);
|
237
|
+
void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len);
|
238
238
|
#endif
|
239
239
|
|
240
240
|
/* Diagnostic functions */
|
241
241
|
#ifdef ZLIB_DEBUG
|
242
242
|
# include <stdio.h>
|
243
243
|
extern int ZLIB_INTERNAL z_verbose;
|
244
|
-
extern void ZLIB_INTERNAL z_error
|
244
|
+
extern void ZLIB_INTERNAL z_error(char *m);
|
245
245
|
# define Assert(cond,msg) {if(!(cond)) z_error(msg);}
|
246
246
|
# define Trace(x) {if (z_verbose>=0) fprintf x ;}
|
247
247
|
# define Tracev(x) {if (z_verbose>0) fprintf x ;}
|
@@ -258,9 +258,9 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
|
258
258
|
#endif
|
259
259
|
|
260
260
|
#ifndef Z_SOLO
|
261
|
-
voidpf ZLIB_INTERNAL zcalloc
|
262
|
-
|
263
|
-
void ZLIB_INTERNAL zcfree
|
261
|
+
voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items,
|
262
|
+
unsigned size);
|
263
|
+
void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr);
|
264
264
|
#endif
|
265
265
|
|
266
266
|
#define ZALLOC(strm, items, size) \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.61.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gRPC Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: src/ruby/bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1.
|
131
|
+
version: '1.4'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '1.
|
138
|
+
version: '1.4'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,6 +224,7 @@ files:
|
|
224
224
|
- include/grpc/grpc_posix.h
|
225
225
|
- include/grpc/grpc_security.h
|
226
226
|
- include/grpc/grpc_security_constants.h
|
227
|
+
- include/grpc/impl/call.h
|
227
228
|
- include/grpc/impl/channel_arg_names.h
|
228
229
|
- include/grpc/impl/codegen/README.md
|
229
230
|
- include/grpc/impl/codegen/atm.h
|
@@ -286,6 +287,8 @@ files:
|
|
286
287
|
- src/core/ext/filters/channel_idle/channel_idle_filter.h
|
287
288
|
- src/core/ext/filters/channel_idle/idle_filter_state.cc
|
288
289
|
- src/core/ext/filters/channel_idle/idle_filter_state.h
|
290
|
+
- src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc
|
291
|
+
- src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h
|
289
292
|
- src/core/ext/filters/client_channel/backend_metric.cc
|
290
293
|
- src/core/ext/filters/client_channel/backend_metric.h
|
291
294
|
- src/core/ext/filters/client_channel/backup_poller.cc
|
@@ -351,7 +354,6 @@ files:
|
|
351
354
|
- src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h
|
352
355
|
- src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc
|
353
356
|
- src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc
|
354
|
-
- src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc
|
355
357
|
- src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc
|
356
358
|
- src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.h
|
357
359
|
- src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc
|
@@ -381,8 +383,12 @@ files:
|
|
381
383
|
- src/core/ext/filters/client_channel/resolver/polling_resolver.cc
|
382
384
|
- src/core/ext/filters/client_channel/resolver/polling_resolver.h
|
383
385
|
- src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc
|
386
|
+
- src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.cc
|
387
|
+
- src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.h
|
384
388
|
- src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc
|
385
|
-
- src/core/ext/filters/client_channel/resolver/xds/
|
389
|
+
- src/core/ext/filters/client_channel/resolver/xds/xds_resolver_attributes.h
|
390
|
+
- src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.cc
|
391
|
+
- src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.h
|
386
392
|
- src/core/ext/filters/client_channel/retry_filter.cc
|
387
393
|
- src/core/ext/filters/client_channel/retry_filter.h
|
388
394
|
- src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc
|
@@ -412,6 +418,8 @@ files:
|
|
412
418
|
- src/core/ext/filters/http/http_filters_plugin.cc
|
413
419
|
- src/core/ext/filters/http/message_compress/compression_filter.cc
|
414
420
|
- src/core/ext/filters/http/message_compress/compression_filter.h
|
421
|
+
- src/core/ext/filters/http/message_compress/legacy_compression_filter.cc
|
422
|
+
- src/core/ext/filters/http/message_compress/legacy_compression_filter.h
|
415
423
|
- src/core/ext/filters/http/server/http_server_filter.cc
|
416
424
|
- src/core/ext/filters/http/server/http_server_filter.h
|
417
425
|
- src/core/ext/filters/message_size/message_size_filter.cc
|
@@ -446,6 +454,8 @@ files:
|
|
446
454
|
- src/core/ext/transport/chttp2/transport/decode_huff.h
|
447
455
|
- src/core/ext/transport/chttp2/transport/flow_control.cc
|
448
456
|
- src/core/ext/transport/chttp2/transport/flow_control.h
|
457
|
+
- src/core/ext/transport/chttp2/transport/frame.cc
|
458
|
+
- src/core/ext/transport/chttp2/transport/frame.h
|
449
459
|
- src/core/ext/transport/chttp2/transport/frame_data.cc
|
450
460
|
- src/core/ext/transport/chttp2/transport/frame_data.h
|
451
461
|
- src/core/ext/transport/chttp2/transport/frame_goaway.cc
|
@@ -743,6 +753,9 @@ files:
|
|
743
753
|
- src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h
|
744
754
|
- src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c
|
745
755
|
- src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h
|
756
|
+
- src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h
|
757
|
+
- src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c
|
758
|
+
- src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h
|
746
759
|
- src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h
|
747
760
|
- src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c
|
748
761
|
- src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h
|
@@ -1140,6 +1153,8 @@ files:
|
|
1140
1153
|
- src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h
|
1141
1154
|
- src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c
|
1142
1155
|
- src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h
|
1156
|
+
- src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c
|
1157
|
+
- src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h
|
1143
1158
|
- src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c
|
1144
1159
|
- src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h
|
1145
1160
|
- src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c
|
@@ -1425,7 +1440,6 @@ files:
|
|
1425
1440
|
- src/core/lib/event_engine/forkable.h
|
1426
1441
|
- src/core/lib/event_engine/grpc_polled_fd.h
|
1427
1442
|
- src/core/lib/event_engine/handle_containers.h
|
1428
|
-
- src/core/lib/event_engine/memory_allocator.cc
|
1429
1443
|
- src/core/lib/event_engine/memory_allocator_factory.h
|
1430
1444
|
- src/core/lib/event_engine/nameser.h
|
1431
1445
|
- src/core/lib/event_engine/poller.h
|
@@ -1442,6 +1456,8 @@ files:
|
|
1442
1456
|
- src/core/lib/event_engine/posix_engine/internal_errqueue.h
|
1443
1457
|
- src/core/lib/event_engine/posix_engine/lockfree_event.cc
|
1444
1458
|
- src/core/lib/event_engine/posix_engine/lockfree_event.h
|
1459
|
+
- src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc
|
1460
|
+
- src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h
|
1445
1461
|
- src/core/lib/event_engine/posix_engine/posix_endpoint.cc
|
1446
1462
|
- src/core/lib/event_engine/posix_engine/posix_endpoint.h
|
1447
1463
|
- src/core/lib/event_engine/posix_engine/posix_engine.cc
|
@@ -1468,6 +1484,7 @@ files:
|
|
1468
1484
|
- src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h
|
1469
1485
|
- src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc
|
1470
1486
|
- src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h
|
1487
|
+
- src/core/lib/event_engine/ref_counted_dns_resolver_interface.h
|
1471
1488
|
- src/core/lib/event_engine/resolved_address.cc
|
1472
1489
|
- src/core/lib/event_engine/resolved_address_internal.h
|
1473
1490
|
- src/core/lib/event_engine/shim.cc
|
@@ -1496,6 +1513,8 @@ files:
|
|
1496
1513
|
- src/core/lib/event_engine/windows/grpc_polled_fd_windows.h
|
1497
1514
|
- src/core/lib/event_engine/windows/iocp.cc
|
1498
1515
|
- src/core/lib/event_engine/windows/iocp.h
|
1516
|
+
- src/core/lib/event_engine/windows/native_windows_dns_resolver.cc
|
1517
|
+
- src/core/lib/event_engine/windows/native_windows_dns_resolver.h
|
1499
1518
|
- src/core/lib/event_engine/windows/win_socket.cc
|
1500
1519
|
- src/core/lib/event_engine/windows/win_socket.h
|
1501
1520
|
- src/core/lib/event_engine/windows/windows_endpoint.cc
|
@@ -1792,10 +1811,12 @@ files:
|
|
1792
1811
|
- src/core/lib/matchers/matchers.h
|
1793
1812
|
- src/core/lib/promise/activity.cc
|
1794
1813
|
- src/core/lib/promise/activity.h
|
1814
|
+
- src/core/lib/promise/all_ok.h
|
1795
1815
|
- src/core/lib/promise/arena_promise.h
|
1796
1816
|
- src/core/lib/promise/cancel_callback.h
|
1797
1817
|
- src/core/lib/promise/context.h
|
1798
1818
|
- src/core/lib/promise/detail/basic_seq.h
|
1819
|
+
- src/core/lib/promise/detail/join_state.h
|
1799
1820
|
- src/core/lib/promise/detail/promise_factory.h
|
1800
1821
|
- src/core/lib/promise/detail/promise_like.h
|
1801
1822
|
- src/core/lib/promise/detail/seq_state.h
|
@@ -1817,8 +1838,10 @@ files:
|
|
1817
1838
|
- src/core/lib/promise/seq.h
|
1818
1839
|
- src/core/lib/promise/sleep.cc
|
1819
1840
|
- src/core/lib/promise/sleep.h
|
1841
|
+
- src/core/lib/promise/status_flag.h
|
1820
1842
|
- src/core/lib/promise/trace.cc
|
1821
1843
|
- src/core/lib/promise/trace.h
|
1844
|
+
- src/core/lib/promise/try_join.h
|
1822
1845
|
- src/core/lib/promise/try_seq.h
|
1823
1846
|
- src/core/lib/resolver/endpoint_addresses.cc
|
1824
1847
|
- src/core/lib/resolver/endpoint_addresses.h
|
@@ -1955,6 +1978,7 @@ files:
|
|
1955
1978
|
- src/core/lib/security/security_connector/tls/tls_security_connector.h
|
1956
1979
|
- src/core/lib/security/transport/auth_filters.h
|
1957
1980
|
- src/core/lib/security/transport/client_auth_filter.cc
|
1981
|
+
- src/core/lib/security/transport/legacy_server_auth_filter.cc
|
1958
1982
|
- src/core/lib/security/transport/secure_endpoint.cc
|
1959
1983
|
- src/core/lib/security/transport/secure_endpoint.h
|
1960
1984
|
- src/core/lib/security/transport/security_handshaker.cc
|
@@ -2021,10 +2045,13 @@ files:
|
|
2021
2045
|
- src/core/lib/surface/validate_metadata.cc
|
2022
2046
|
- src/core/lib/surface/validate_metadata.h
|
2023
2047
|
- src/core/lib/surface/version.cc
|
2048
|
+
- src/core/lib/surface/wait_for_cq_end_op.h
|
2024
2049
|
- src/core/lib/transport/batch_builder.cc
|
2025
2050
|
- src/core/lib/transport/batch_builder.h
|
2026
2051
|
- src/core/lib/transport/bdp_estimator.cc
|
2027
2052
|
- src/core/lib/transport/bdp_estimator.h
|
2053
|
+
- src/core/lib/transport/call_final_info.cc
|
2054
|
+
- src/core/lib/transport/call_final_info.h
|
2028
2055
|
- src/core/lib/transport/connectivity_state.cc
|
2029
2056
|
- src/core/lib/transport/connectivity_state.h
|
2030
2057
|
- src/core/lib/transport/custom_metadata.h
|
@@ -2043,8 +2070,6 @@ files:
|
|
2043
2070
|
- src/core/lib/transport/metadata_compression_traits.h
|
2044
2071
|
- src/core/lib/transport/parsed_metadata.cc
|
2045
2072
|
- src/core/lib/transport/parsed_metadata.h
|
2046
|
-
- src/core/lib/transport/pid_controller.cc
|
2047
|
-
- src/core/lib/transport/pid_controller.h
|
2048
2073
|
- src/core/lib/transport/simple_slice_based_metadata.h
|
2049
2074
|
- src/core/lib/transport/status_conversion.cc
|
2050
2075
|
- src/core/lib/transport/status_conversion.h
|
@@ -3265,8 +3290,6 @@ files:
|
|
3265
3290
|
- third_party/upb/upb/base/status.h
|
3266
3291
|
- third_party/upb/upb/base/status.hpp
|
3267
3292
|
- third_party/upb/upb/base/string_view.h
|
3268
|
-
- third_party/upb/upb/collections/array.h
|
3269
|
-
- third_party/upb/upb/collections/map.h
|
3270
3293
|
- third_party/upb/upb/generated_code_support.h
|
3271
3294
|
- third_party/upb/upb/hash/common.c
|
3272
3295
|
- third_party/upb/upb/hash/common.h
|
@@ -3397,7 +3420,6 @@ files:
|
|
3397
3420
|
- third_party/upb/upb/reflection/service_def.h
|
3398
3421
|
- third_party/upb/upb/text/encode.c
|
3399
3422
|
- third_party/upb/upb/text/encode.h
|
3400
|
-
- third_party/upb/upb/upb.hpp
|
3401
3423
|
- third_party/upb/upb/wire/decode.c
|
3402
3424
|
- third_party/upb/upb/wire/decode.h
|
3403
3425
|
- third_party/upb/upb/wire/decode_fast.c
|
@@ -3460,7 +3482,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3460
3482
|
- !ruby/object:Gem::Version
|
3461
3483
|
version: '0'
|
3462
3484
|
requirements: []
|
3463
|
-
rubygems_version: 3.
|
3485
|
+
rubygems_version: 3.5.5
|
3464
3486
|
signing_key:
|
3465
3487
|
specification_version: 4
|
3466
3488
|
summary: GRPC system in Ruby
|