grpc 1.39.0.pre1 → 1.40.0.pre1
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 +34 -18
- data/include/grpc/event_engine/event_engine.h +10 -14
- data/include/grpc/event_engine/slice_allocator.h +8 -33
- data/include/grpc/impl/codegen/grpc_types.h +18 -8
- data/include/grpc/impl/codegen/port_platform.h +24 -0
- data/src/core/ext/filters/client_channel/client_channel.cc +413 -247
- data/src/core/ext/filters/client_channel/client_channel.h +42 -18
- data/src/core/ext/filters/client_channel/config_selector.h +19 -6
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +7 -8
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +12 -21
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +3 -5
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +17 -38
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +8 -15
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +3 -6
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +8 -12
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +14 -22
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +2 -9
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +5 -8
- data/src/core/ext/filters/client_channel/lb_policy.cc +1 -15
- data/src/core/ext/filters/client_channel/lb_policy.h +70 -46
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +101 -73
- data/src/core/ext/filters/client_channel/retry_filter.cc +392 -243
- data/src/core/ext/filters/client_channel/retry_service_config.cc +36 -26
- data/src/core/ext/filters/client_channel/retry_service_config.h +1 -1
- data/src/core/ext/filters/client_channel/service_config_call_data.h +45 -5
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +0 -6
- data/src/core/ext/filters/http/client/http_client_filter.cc +5 -2
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +5 -1
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +1 -1
- data/src/core/{lib/event_engine/slice_allocator.cc → ext/transport/chttp2/transport/chttp2_slice_allocator.cc} +15 -38
- data/src/core/ext/transport/chttp2/transport/chttp2_slice_allocator.h +74 -0
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +2 -6
- data/src/core/ext/transport/chttp2/transport/flow_control.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +8 -8
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +639 -752
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +190 -69
- data/src/core/ext/transport/chttp2/transport/internal.h +1 -1
- data/src/core/ext/transport/chttp2/transport/parsing.cc +70 -54
- data/src/core/ext/transport/chttp2/transport/varint.cc +6 -4
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +56 -35
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +180 -76
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +35 -27
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +97 -48
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +45 -9
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +67 -7
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +66 -9
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +227 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +46 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +121 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +1 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +35 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +90 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +32 -24
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +120 -73
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +4 -2
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +15 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +48 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +171 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +8 -6
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +27 -19
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +1 -0
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +24 -7
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +57 -0
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +29 -17
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +72 -0
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +3 -2
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +4 -0
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +6 -5
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +15 -11
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +85 -43
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +274 -91
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +11 -8
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +30 -13
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +33 -5
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +115 -0
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +60 -0
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +181 -0
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +1 -0
- data/src/core/ext/upb-generated/validate/validate.upb.c +82 -66
- data/src/core/ext/upb-generated/validate/validate.upb.h +220 -124
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +15 -7
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +53 -52
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +318 -277
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +437 -410
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +198 -170
- 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 +9 -8
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +219 -163
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +15 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +29 -25
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +135 -125
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +131 -123
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +90 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +32 -24
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +69 -55
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +684 -664
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +13 -10
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +13 -10
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +441 -375
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +10 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +122 -114
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +112 -79
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +64 -0
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +35 -32
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +4 -4
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +182 -160
- data/src/core/ext/xds/certificate_provider_store.h +1 -1
- data/src/core/ext/xds/xds_api.cc +320 -121
- data/src/core/ext/xds/xds_api.h +31 -2
- data/src/core/ext/xds/xds_bootstrap.cc +4 -1
- data/src/core/ext/xds/xds_client.cc +66 -43
- data/src/core/ext/xds/xds_client.h +0 -4
- data/src/core/ext/xds/xds_http_filters.cc +3 -2
- data/src/core/ext/xds/xds_http_filters.h +3 -0
- data/src/core/lib/channel/call_tracer.h +85 -0
- data/src/core/lib/channel/channel_stack.h +1 -1
- data/src/core/lib/channel/context.h +3 -0
- data/src/core/lib/channel/status_util.h +4 -0
- data/src/core/lib/compression/stream_compression.h +1 -1
- data/src/core/lib/compression/stream_compression_gzip.h +1 -1
- data/src/core/lib/compression/stream_compression_identity.h +1 -1
- data/src/core/lib/debug/stats.h +1 -1
- data/src/core/lib/gpr/murmur_hash.cc +4 -2
- data/src/core/lib/gprpp/manual_constructor.h +1 -1
- data/src/core/lib/gprpp/orphanable.h +3 -3
- data/src/core/lib/gprpp/sync.h +2 -30
- data/src/core/lib/iomgr/buffer_list.cc +1 -1
- data/src/core/lib/iomgr/ev_apple.h +1 -1
- data/src/core/lib/iomgr/event_engine/endpoint.cc +6 -8
- data/src/core/lib/iomgr/event_engine/tcp.cc +30 -10
- data/src/core/lib/iomgr/python_util.h +1 -1
- data/src/core/lib/iomgr/resource_quota.cc +2 -0
- data/src/core/lib/iomgr/tcp_client_windows.cc +2 -0
- data/src/core/lib/iomgr/tcp_server_posix.cc +1 -0
- data/src/core/lib/iomgr/timer_manager.cc +1 -1
- data/src/core/lib/json/json_reader.cc +1 -2
- data/src/core/lib/matchers/matchers.cc +8 -20
- data/src/core/lib/matchers/matchers.h +2 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +49 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +7 -0
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +6 -18
- data/src/core/lib/security/transport/security_handshaker.cc +12 -4
- data/src/core/lib/security/transport/server_auth_filter.cc +0 -7
- data/src/core/lib/slice/slice_internal.h +1 -0
- data/src/core/lib/surface/call.cc +5 -6
- data/src/core/lib/surface/server.cc +3 -1
- data/src/core/lib/surface/server.h +3 -3
- data/src/core/lib/surface/version.cc +2 -4
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/third_party/xxhash/xxhash.h +77 -195
- metadata +57 -40
- data/src/core/lib/gpr/arena.h +0 -47
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.40.0.pre1
|
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: 2021-
|
11
|
+
date: 2021-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -428,6 +428,8 @@ files:
|
|
428
428
|
- src/core/ext/transport/chttp2/transport/bin_encoder.cc
|
429
429
|
- src/core/ext/transport/chttp2/transport/bin_encoder.h
|
430
430
|
- src/core/ext/transport/chttp2/transport/chttp2_plugin.cc
|
431
|
+
- src/core/ext/transport/chttp2/transport/chttp2_slice_allocator.cc
|
432
|
+
- src/core/ext/transport/chttp2/transport/chttp2_slice_allocator.h
|
431
433
|
- src/core/ext/transport/chttp2/transport/chttp2_transport.cc
|
432
434
|
- src/core/ext/transport/chttp2/transport/chttp2_transport.h
|
433
435
|
- src/core/ext/transport/chttp2/transport/context_list.cc
|
@@ -510,10 +512,14 @@ files:
|
|
510
512
|
- src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h
|
511
513
|
- src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c
|
512
514
|
- src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h
|
515
|
+
- src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c
|
516
|
+
- src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h
|
513
517
|
- src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c
|
514
518
|
- src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h
|
515
519
|
- src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c
|
516
520
|
- src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h
|
521
|
+
- src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c
|
522
|
+
- src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h
|
517
523
|
- src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c
|
518
524
|
- src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h
|
519
525
|
- src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c
|
@@ -526,6 +532,8 @@ files:
|
|
526
532
|
- src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h
|
527
533
|
- src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c
|
528
534
|
- src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h
|
535
|
+
- src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c
|
536
|
+
- src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h
|
529
537
|
- src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c
|
530
538
|
- src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h
|
531
539
|
- src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c
|
@@ -578,6 +586,8 @@ files:
|
|
578
586
|
- src/core/ext/upb-generated/envoy/service/route/v3/srds.upb.h
|
579
587
|
- src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c
|
580
588
|
- src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h
|
589
|
+
- src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c
|
590
|
+
- src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h
|
581
591
|
- src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c
|
582
592
|
- src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h
|
583
593
|
- src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c
|
@@ -708,10 +718,14 @@ files:
|
|
708
718
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h
|
709
719
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c
|
710
720
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h
|
721
|
+
- src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c
|
722
|
+
- src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h
|
711
723
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c
|
712
724
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h
|
713
725
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c
|
714
726
|
- src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h
|
727
|
+
- src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c
|
728
|
+
- src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h
|
715
729
|
- src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c
|
716
730
|
- src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h
|
717
731
|
- src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c
|
@@ -724,6 +738,8 @@ files:
|
|
724
738
|
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h
|
725
739
|
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c
|
726
740
|
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h
|
741
|
+
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c
|
742
|
+
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h
|
727
743
|
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c
|
728
744
|
- src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h
|
729
745
|
- src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c
|
@@ -774,6 +790,8 @@ files:
|
|
774
790
|
- src/core/ext/upbdefs-generated/envoy/service/route/v3/srds.upbdefs.h
|
775
791
|
- src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c
|
776
792
|
- src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h
|
793
|
+
- src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c
|
794
|
+
- src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h
|
777
795
|
- src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c
|
778
796
|
- src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h
|
779
797
|
- src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c
|
@@ -879,6 +897,7 @@ files:
|
|
879
897
|
- src/core/lib/avl/avl.h
|
880
898
|
- src/core/lib/backoff/backoff.cc
|
881
899
|
- src/core/lib/backoff/backoff.h
|
900
|
+
- src/core/lib/channel/call_tracer.h
|
882
901
|
- src/core/lib/channel/channel_args.cc
|
883
902
|
- src/core/lib/channel/channel_args.h
|
884
903
|
- src/core/lib/channel/channel_stack.cc
|
@@ -924,12 +943,10 @@ files:
|
|
924
943
|
- src/core/lib/event_engine/endpoint_config.cc
|
925
944
|
- src/core/lib/event_engine/endpoint_config_internal.h
|
926
945
|
- src/core/lib/event_engine/event_engine.cc
|
927
|
-
- src/core/lib/event_engine/slice_allocator.cc
|
928
946
|
- src/core/lib/event_engine/sockaddr.cc
|
929
947
|
- src/core/lib/event_engine/sockaddr.h
|
930
948
|
- src/core/lib/gpr/alloc.cc
|
931
949
|
- src/core/lib/gpr/alloc.h
|
932
|
-
- src/core/lib/gpr/arena.h
|
933
950
|
- src/core/lib/gpr/atm.cc
|
934
951
|
- src/core/lib/gpr/cpu_iphone.cc
|
935
952
|
- src/core/lib/gpr/cpu_linux.cc
|
@@ -2477,51 +2494,51 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2477
2494
|
- !ruby/object:Gem::Version
|
2478
2495
|
version: 1.3.1
|
2479
2496
|
requirements: []
|
2480
|
-
rubygems_version: 3.2.
|
2497
|
+
rubygems_version: 3.2.26
|
2481
2498
|
signing_key:
|
2482
2499
|
specification_version: 4
|
2483
2500
|
summary: GRPC system in Ruby
|
2484
2501
|
test_files:
|
2485
|
-
- src/ruby/spec/
|
2486
|
-
- src/ruby/spec/error_sanity_spec.rb
|
2502
|
+
- src/ruby/spec/server_credentials_spec.rb
|
2487
2503
|
- src/ruby/spec/debug_message_spec.rb
|
2488
|
-
- src/ruby/spec/
|
2489
|
-
- src/ruby/spec/testdata/
|
2504
|
+
- src/ruby/spec/channel_connection_spec.rb
|
2505
|
+
- src/ruby/spec/testdata/client.key
|
2506
|
+
- src/ruby/spec/testdata/server1.pem
|
2490
2507
|
- src/ruby/spec/testdata/client.pem
|
2508
|
+
- src/ruby/spec/testdata/server1.key
|
2491
2509
|
- src/ruby/spec/testdata/ca.pem
|
2492
|
-
- src/ruby/spec/testdata/
|
2493
|
-
- src/ruby/spec/
|
2510
|
+
- src/ruby/spec/testdata/README
|
2511
|
+
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
2512
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
|
2513
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
|
2514
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
|
2515
|
+
- src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
|
2516
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
|
2517
|
+
- src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
|
2518
|
+
- src/ruby/spec/pb/duplicate/codegen_spec.rb
|
2519
|
+
- src/ruby/spec/pb/health/checker_spec.rb
|
2494
2520
|
- src/ruby/spec/time_consts_spec.rb
|
2495
|
-
- src/ruby/spec/
|
2496
|
-
- src/ruby/spec/generic/rpc_desc_spec.rb
|
2497
|
-
- src/ruby/spec/generic/active_call_spec.rb
|
2498
|
-
- src/ruby/spec/generic/client_interceptors_spec.rb
|
2499
|
-
- src/ruby/spec/generic/client_stub_spec.rb
|
2500
|
-
- src/ruby/spec/generic/rpc_server_spec.rb
|
2501
|
-
- src/ruby/spec/generic/interceptor_registry_spec.rb
|
2502
|
-
- src/ruby/spec/generic/rpc_server_pool_spec.rb
|
2503
|
-
- src/ruby/spec/generic/service_spec.rb
|
2504
|
-
- src/ruby/spec/generic/server_interceptors_spec.rb
|
2505
|
-
- src/ruby/spec/google_rpc_status_utils_spec.rb
|
2506
|
-
- src/ruby/spec/channel_spec.rb
|
2507
|
-
- src/ruby/spec/user_agent_spec.rb
|
2508
|
-
- src/ruby/spec/channel_credentials_spec.rb
|
2509
|
-
- src/ruby/spec/call_credentials_spec.rb
|
2510
|
-
- src/ruby/spec/spec_helper.rb
|
2521
|
+
- src/ruby/spec/client_server_spec.rb
|
2511
2522
|
- src/ruby/spec/server_spec.rb
|
2512
2523
|
- src/ruby/spec/call_spec.rb
|
2513
|
-
- src/ruby/spec/channel_connection_spec.rb
|
2514
|
-
- src/ruby/spec/client_server_spec.rb
|
2515
|
-
- src/ruby/spec/support/helpers.rb
|
2516
|
-
- src/ruby/spec/support/services.rb
|
2517
2524
|
- src/ruby/spec/client_auth_spec.rb
|
2525
|
+
- src/ruby/spec/channel_credentials_spec.rb
|
2526
|
+
- src/ruby/spec/user_agent_spec.rb
|
2518
2527
|
- src/ruby/spec/errors_spec.rb
|
2519
|
-
- src/ruby/spec/
|
2520
|
-
- src/ruby/spec/
|
2521
|
-
- src/ruby/spec/
|
2522
|
-
- src/ruby/spec/
|
2523
|
-
- src/ruby/spec/
|
2524
|
-
- src/ruby/spec/
|
2525
|
-
- src/ruby/spec/
|
2526
|
-
- src/ruby/spec/
|
2527
|
-
- src/ruby/spec/
|
2528
|
+
- src/ruby/spec/google_rpc_status_utils_spec.rb
|
2529
|
+
- src/ruby/spec/spec_helper.rb
|
2530
|
+
- src/ruby/spec/support/helpers.rb
|
2531
|
+
- src/ruby/spec/support/services.rb
|
2532
|
+
- src/ruby/spec/channel_spec.rb
|
2533
|
+
- src/ruby/spec/call_credentials_spec.rb
|
2534
|
+
- src/ruby/spec/compression_options_spec.rb
|
2535
|
+
- src/ruby/spec/generic/active_call_spec.rb
|
2536
|
+
- src/ruby/spec/generic/server_interceptors_spec.rb
|
2537
|
+
- src/ruby/spec/generic/client_stub_spec.rb
|
2538
|
+
- src/ruby/spec/generic/interceptor_registry_spec.rb
|
2539
|
+
- src/ruby/spec/generic/rpc_server_spec.rb
|
2540
|
+
- src/ruby/spec/generic/rpc_desc_spec.rb
|
2541
|
+
- src/ruby/spec/generic/client_interceptors_spec.rb
|
2542
|
+
- src/ruby/spec/generic/service_spec.rb
|
2543
|
+
- src/ruby/spec/generic/rpc_server_pool_spec.rb
|
2544
|
+
- src/ruby/spec/error_sanity_spec.rb
|
data/src/core/lib/gpr/arena.h
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
*
|
3
|
-
* Copyright 2017 gRPC authors.
|
4
|
-
*
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
* you may not use this file except in compliance with the License.
|
7
|
-
* You may obtain a copy of the License at
|
8
|
-
*
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
*
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
* See the License for the specific language governing permissions and
|
15
|
-
* limitations under the License.
|
16
|
-
*
|
17
|
-
*/
|
18
|
-
|
19
|
-
// \file Arena based allocator
|
20
|
-
// Allows very fast allocation of memory, but that memory cannot be freed until
|
21
|
-
// the arena as a whole is freed
|
22
|
-
// Tracks the total memory allocated against it, so that future arenas can
|
23
|
-
// pre-allocate the right amount of memory
|
24
|
-
// This transitional API is deprecated and will be removed soon in favour of
|
25
|
-
// src/core/lib/gprpp/arena.h .
|
26
|
-
|
27
|
-
#ifndef GRPC_CORE_LIB_GPR_ARENA_H
|
28
|
-
#define GRPC_CORE_LIB_GPR_ARENA_H
|
29
|
-
|
30
|
-
#include <grpc/support/port_platform.h>
|
31
|
-
|
32
|
-
#include "src/core/lib/gprpp/arena.h"
|
33
|
-
|
34
|
-
// TODO(arjunroy) : Remove deprecated gpr_arena API once all callers are gone.
|
35
|
-
typedef class grpc_core::Arena gpr_arena;
|
36
|
-
// Create an arena, with \a initial_size bytes in the first allocated buffer
|
37
|
-
inline gpr_arena* gpr_arena_create(size_t initial_size) {
|
38
|
-
return grpc_core::Arena::Create(initial_size);
|
39
|
-
}
|
40
|
-
// Destroy an arena, returning the total number of bytes allocated
|
41
|
-
inline size_t gpr_arena_destroy(gpr_arena* arena) { return arena->Destroy(); }
|
42
|
-
// Allocate \a size bytes from the arena
|
43
|
-
inline void* gpr_arena_alloc(gpr_arena* arena, size_t size) {
|
44
|
-
return arena->Alloc(size);
|
45
|
-
}
|
46
|
-
|
47
|
-
#endif /* GRPC_CORE_LIB_GPR_ARENA_H */
|