grpc 1.2.5 → 1.3.4
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 +1434 -399
- data/etc/roots.pem +34 -150
- data/include/grpc/grpc.h +71 -0
- data/include/grpc/impl/codegen/atm.h +5 -0
- data/include/grpc/impl/codegen/atm_gcc_atomic.h +6 -0
- data/include/grpc/impl/codegen/atm_gcc_sync.h +2 -0
- data/include/grpc/impl/codegen/atm_windows.h +11 -0
- data/include/grpc/impl/codegen/grpc_types.h +54 -13
- data/include/grpc/impl/codegen/port_platform.h +15 -1
- data/include/grpc/support/alloc.h +2 -1
- data/include/grpc/support/sync.h +4 -0
- data/include/grpc/support/tls.h +1 -1
- data/src/core/ext/census/gen/trace_context.pb.h +1 -1
- data/src/core/ext/census/grpc_filter.c +14 -10
- data/src/core/ext/census/grpc_plugin.c +3 -1
- data/src/core/ext/census/trace_label.h +1 -1
- data/src/core/ext/census/trace_propagation.h +1 -1
- data/src/core/ext/census/trace_status.h +1 -1
- data/src/core/ext/census/trace_string.h +1 -1
- data/src/core/ext/census/tracing.h +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/channel_connectivity.c +56 -27
- data/src/core/ext/{client_channel → filters/client_channel}/client_channel.c +407 -202
- data/src/core/ext/{client_channel → filters/client_channel}/client_channel.h +10 -6
- data/src/core/ext/{client_channel → filters/client_channel}/client_channel_factory.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/client_channel_factory.h +4 -4
- data/src/core/ext/{client_channel → filters/client_channel}/client_channel_plugin.c +12 -7
- data/src/core/ext/{client_channel → filters/client_channel}/connector.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/connector.h +3 -5
- data/src/core/ext/{client_channel → filters/client_channel}/http_connect_handshaker.c +6 -6
- data/src/core/ext/{client_channel → filters/client_channel}/http_connect_handshaker.h +3 -3
- data/src/core/ext/{client_channel → filters/client_channel}/http_proxy.c +4 -4
- data/src/core/ext/{client_channel → filters/client_channel}/http_proxy.h +3 -3
- data/src/core/ext/{client_channel → filters/client_channel}/lb_policy.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/lb_policy.h +4 -4
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/grpclb.c +22 -20
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/grpclb.h +4 -4
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/grpclb_channel.h +5 -4
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/grpclb_channel_secure.c +2 -2
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/load_balancer_api.c +1 -1
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/load_balancer_api.h +6 -5
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +1 -1
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +0 -0
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/pick_first/pick_first.c +20 -15
- data/src/core/ext/{lb_policy → filters/client_channel/lb_policy}/round_robin/round_robin.c +21 -16
- data/src/core/ext/{client_channel → filters/client_channel}/lb_policy_factory.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/lb_policy_factory.h +5 -5
- data/src/core/ext/{client_channel → filters/client_channel}/lb_policy_registry.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/lb_policy_registry.h +4 -4
- data/src/core/ext/{client_channel → filters/client_channel}/parse_address.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/parse_address.h +4 -4
- data/src/core/ext/{client_channel → filters/client_channel}/proxy_mapper.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/proxy_mapper.h +3 -3
- data/src/core/ext/{client_channel → filters/client_channel}/proxy_mapper_registry.c +10 -4
- data/src/core/ext/{client_channel → filters/client_channel}/proxy_mapper_registry.h +4 -4
- data/src/core/ext/{client_channel → filters/client_channel}/resolver.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/resolver.h +4 -4
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c +350 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +66 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c +319 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c +289 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +64 -0
- data/src/core/ext/{resolver → filters/client_channel/resolver}/dns/native/dns_resolver.c +21 -5
- data/src/core/ext/{resolver → filters/client_channel/resolver}/sockaddr/sockaddr_resolver.c +3 -3
- data/src/core/ext/{client_channel → filters/client_channel}/resolver_factory.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/resolver_factory.h +6 -6
- data/src/core/ext/{client_channel → filters/client_channel}/resolver_registry.c +1 -2
- data/src/core/ext/{client_channel → filters/client_channel}/resolver_registry.h +4 -4
- data/src/core/ext/filters/client_channel/retry_throttle.c +210 -0
- data/src/core/ext/filters/client_channel/retry_throttle.h +65 -0
- data/src/core/ext/{client_channel → filters/client_channel}/subchannel.c +49 -43
- data/src/core/ext/{client_channel → filters/client_channel}/subchannel.h +21 -7
- data/src/core/ext/{client_channel → filters/client_channel}/subchannel_index.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/subchannel_index.h +5 -5
- data/src/core/ext/{client_channel → filters/client_channel}/uri_parser.c +1 -1
- data/src/core/ext/{client_channel → filters/client_channel}/uri_parser.h +3 -3
- data/src/core/ext/{load_reporting → filters/load_reporting}/load_reporting.c +4 -2
- data/src/core/ext/{load_reporting → filters/load_reporting}/load_reporting.h +3 -3
- data/src/core/ext/{load_reporting → filters/load_reporting}/load_reporting_filter.c +17 -14
- data/src/core/ext/{load_reporting → filters/load_reporting}/load_reporting_filter.h +4 -4
- data/src/core/ext/filters/max_age/max_age_filter.c +439 -0
- data/src/core/ext/filters/max_age/max_age_filter.h +39 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.c +6 -41
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +2 -2
- data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c +3 -3
- data/src/core/ext/transport/chttp2/server/chttp2_server.c +2 -2
- data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c +2 -5
- data/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c +2 -2
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +449 -204
- data/src/core/ext/transport/chttp2/transport/frame_data.c +10 -7
- data/src/core/ext/transport/chttp2/transport/frame_goaway.c +3 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.c +37 -7
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +3 -0
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +4 -3
- data/src/core/ext/transport/chttp2/transport/frame_settings.c +18 -38
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -29
- data/src/core/ext/transport/chttp2/transport/frame_window_update.c +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +64 -37
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +11 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parser.c +60 -39
- data/src/core/ext/transport/chttp2/transport/hpack_table.c +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.c +75 -0
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +74 -0
- data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +22 -43
- data/src/core/ext/transport/chttp2/transport/incoming_metadata.h +8 -10
- data/src/core/ext/transport/chttp2/transport/internal.h +24 -2
- data/src/core/ext/transport/chttp2/transport/parsing.c +33 -15
- data/src/core/ext/transport/chttp2/transport/writing.c +56 -10
- data/src/core/lib/channel/channel_args.c +7 -0
- data/src/core/lib/channel/channel_args.h +2 -0
- data/src/core/lib/channel/channel_stack.c +20 -27
- data/src/core/lib/channel/channel_stack.h +18 -16
- data/src/core/lib/channel/compress_filter.c +20 -18
- data/src/core/lib/channel/connected_channel.c +9 -8
- data/src/core/lib/channel/deadline_filter.c +28 -24
- data/src/core/lib/channel/deadline_filter.h +3 -3
- data/src/core/lib/channel/handshaker.c +3 -2
- data/src/core/lib/channel/http_client_filter.c +119 -61
- data/src/core/lib/channel/http_server_filter.c +124 -69
- data/src/core/lib/channel/message_size_filter.c +23 -19
- data/src/core/lib/http/httpcli.c +8 -6
- data/src/core/lib/http/httpcli_security_connector.c +5 -5
- data/src/core/lib/http/parser.c +57 -31
- data/src/core/lib/iomgr/closure.c +15 -0
- data/src/core/lib/iomgr/closure.h +4 -0
- data/src/core/lib/iomgr/combiner.c +8 -0
- data/src/core/lib/iomgr/endpoint_pair.h +2 -3
- data/src/core/lib/iomgr/endpoint_pair_posix.c +10 -7
- data/src/core/lib/iomgr/endpoint_pair_uv.c +2 -3
- data/src/core/lib/iomgr/endpoint_pair_windows.c +9 -6
- data/src/core/lib/iomgr/error.c +360 -177
- data/src/core/lib/iomgr/error.h +31 -33
- data/src/core/lib/iomgr/error_internal.h +30 -9
- data/src/core/lib/iomgr/ev_epoll_linux.c +25 -239
- data/src/core/lib/iomgr/ev_poll_posix.c +11 -7
- data/src/core/lib/iomgr/ev_posix.c +6 -0
- data/src/core/lib/iomgr/ev_posix.h +3 -0
- data/src/core/lib/iomgr/exec_ctx.c +6 -0
- data/src/core/lib/iomgr/executor.c +8 -2
- data/src/core/lib/iomgr/load_file.c +6 -3
- data/src/core/lib/iomgr/lockfree_event.c +238 -0
- data/src/core/{ext/client_channel/initial_connect_string.h → lib/iomgr/lockfree_event.h} +17 -13
- data/src/core/lib/iomgr/pollset.h +4 -0
- data/src/core/lib/iomgr/pollset_windows.c +2 -2
- data/src/core/lib/iomgr/port.h +9 -0
- data/src/core/lib/iomgr/resolve_address_posix.c +15 -9
- data/src/core/lib/iomgr/resolve_address_uv.c +8 -6
- data/src/core/lib/iomgr/resolve_address_windows.c +2 -2
- data/src/core/lib/iomgr/resource_quota.c +19 -4
- data/src/core/lib/iomgr/resource_quota.h +2 -0
- data/src/core/lib/iomgr/sockaddr_utils.c +3 -1
- data/src/core/lib/iomgr/socket_factory_posix.c +110 -0
- data/src/core/lib/iomgr/socket_factory_posix.h +90 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.c +25 -9
- data/src/core/lib/iomgr/socket_utils_posix.h +7 -0
- data/src/core/lib/iomgr/tcp_client.h +0 -4
- data/src/core/lib/iomgr/tcp_client_posix.c +15 -31
- data/src/core/lib/iomgr/tcp_client_uv.c +10 -6
- data/src/core/lib/iomgr/tcp_client_windows.c +9 -19
- data/src/core/lib/iomgr/tcp_posix.c +111 -22
- data/src/core/lib/iomgr/tcp_posix.h +3 -4
- data/src/core/lib/iomgr/tcp_server_posix.c +39 -417
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +135 -0
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.c +221 -0
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c +196 -0
- data/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c +49 -0
- data/src/core/lib/iomgr/tcp_server_uv.c +43 -16
- data/src/core/lib/iomgr/tcp_server_windows.c +10 -22
- data/src/core/lib/iomgr/tcp_uv.c +16 -13
- data/src/core/lib/iomgr/tcp_windows.c +24 -12
- data/src/core/lib/iomgr/tcp_windows.h +2 -2
- data/src/core/lib/iomgr/timer.h +3 -0
- data/src/core/lib/iomgr/timer_generic.c +257 -72
- data/src/core/lib/iomgr/timer_generic.h +1 -1
- data/src/core/lib/iomgr/timer_heap.c +8 -8
- data/src/core/lib/iomgr/udp_server.c +54 -24
- data/src/core/lib/iomgr/udp_server.h +7 -7
- data/src/core/lib/iomgr/unix_sockets_posix.c +1 -1
- data/src/core/lib/iomgr/unix_sockets_posix_noop.c +2 -1
- data/src/core/lib/iomgr/wakeup_fd_posix.h +1 -1
- data/src/core/lib/profiling/basic_timers.c +1 -1
- data/src/core/lib/security/credentials/credentials.h +1 -1
- data/src/core/lib/security/credentials/google_default/google_default_credentials.c +10 -9
- data/src/core/lib/security/credentials/jwt/json_token.c +1 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.c +2 -2
- data/src/core/lib/security/transport/client_auth_filter.c +33 -26
- data/src/core/lib/security/transport/secure_endpoint.c +8 -5
- data/src/core/lib/security/transport/security_connector.c +37 -37
- data/src/core/lib/security/transport/security_connector.h +1 -1
- data/src/core/lib/security/transport/security_handshaker.c +15 -12
- data/src/core/lib/security/transport/server_auth_filter.c +20 -18
- data/src/core/lib/security/transport/tsi_error.c +5 -3
- data/src/core/lib/security/transport/tsi_error.h +1 -1
- data/src/core/lib/{security/util → slice}/b64.c +21 -6
- data/src/core/lib/{security/util → slice}/b64.h +16 -4
- data/src/core/lib/slice/slice.c +4 -2
- data/src/core/lib/slice/slice_buffer.c +16 -14
- data/src/core/lib/support/arena.c +98 -0
- data/src/core/{ext/client_channel/initial_connect_string.c → lib/support/arena.h} +17 -15
- data/src/core/{ext/client_channel/default_initial_connect_string.c → lib/support/atm.c} +14 -5
- data/src/core/lib/support/cpu_linux.c +5 -0
- data/src/core/lib/support/sync.c +4 -0
- data/src/core/lib/support/time.c +4 -10
- data/src/core/lib/support/wrap_memcpy.c +3 -1
- data/src/core/lib/surface/call.c +252 -221
- data/src/core/lib/surface/channel.c +72 -21
- data/src/core/lib/surface/channel.h +8 -0
- data/src/core/lib/surface/completion_queue.c +2 -3
- data/src/core/lib/surface/completion_queue_factory.c +77 -0
- data/src/core/lib/surface/completion_queue_factory.h +51 -0
- data/src/core/lib/surface/init_secure.c +3 -1
- data/src/core/lib/surface/lame_client.c +18 -14
- data/src/core/lib/surface/server.c +43 -41
- data/src/core/lib/surface/validate_metadata.c +8 -4
- data/src/core/lib/surface/version.c +2 -2
- data/src/core/lib/transport/bdp_estimator.h +1 -1
- data/src/core/lib/transport/connectivity_state.c +2 -1
- data/src/core/lib/transport/error_utils.c +17 -17
- data/src/core/lib/transport/error_utils.h +1 -1
- data/src/core/lib/transport/metadata_batch.c +6 -7
- data/src/core/lib/transport/pid_controller.c +1 -0
- data/src/core/lib/transport/service_config.c +12 -0
- data/src/core/lib/transport/service_config.h +6 -0
- data/src/core/lib/transport/transport.c +29 -17
- data/src/core/lib/transport/transport.h +85 -42
- data/src/core/lib/transport/transport_impl.h +5 -3
- data/src/core/lib/transport/transport_op_string.c +20 -14
- data/src/core/plugin_registry/grpc_plugin_registry.c +8 -0
- data/src/core/{lib/tsi → tsi}/fake_transport_security.c +2 -2
- data/src/core/{lib/tsi → tsi}/fake_transport_security.h +4 -4
- data/src/core/{lib/tsi → tsi}/ssl_transport_security.c +40 -79
- data/src/core/{lib/tsi → tsi}/ssl_transport_security.h +44 -21
- data/src/core/{lib/tsi → tsi}/ssl_types.h +3 -3
- data/src/core/{lib/tsi → tsi}/transport_security.c +2 -2
- data/src/core/{lib/tsi → tsi}/transport_security.h +4 -4
- data/src/core/{lib/tsi → tsi}/transport_security_interface.h +3 -3
- data/src/ruby/ext/grpc/extconf.rb +1 -0
- data/src/ruby/ext/grpc/rb_call_credentials.c +2 -2
- data/src/ruby/ext/grpc/rb_channel.c +520 -93
- data/src/ruby/ext/grpc/rb_channel.h +2 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +3 -0
- data/src/ruby/ext/grpc/rb_compression_options.c +5 -2
- data/src/ruby/ext/grpc/rb_event_thread.c +6 -6
- data/src/ruby/ext/grpc/rb_grpc.c +29 -7
- data/src/ruby/ext/grpc/rb_grpc.h +2 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +10 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +15 -0
- data/src/ruby/ext/grpc/rb_server.c +5 -3
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/channel_connection_spec.rb +173 -0
- data/src/ruby/spec/channel_spec.rb +29 -0
- data/src/ruby/spec/generic/rpc_server_pool_spec.rb +27 -17
- data/third_party/cares/ares_build.h +264 -0
- data/third_party/cares/cares/ares.h +636 -0
- data/third_party/cares/cares/ares__close_sockets.c +61 -0
- data/third_party/cares/cares/ares__get_hostent.c +261 -0
- data/third_party/cares/cares/ares__read_line.c +73 -0
- data/third_party/cares/cares/ares__timeval.c +111 -0
- data/third_party/cares/cares/ares_cancel.c +63 -0
- data/third_party/cares/cares/ares_create_query.c +202 -0
- data/third_party/cares/cares/ares_data.c +221 -0
- data/third_party/cares/cares/ares_data.h +72 -0
- data/third_party/cares/cares/ares_destroy.c +108 -0
- data/third_party/cares/cares/ares_dns.h +103 -0
- data/third_party/cares/cares/ares_expand_name.c +205 -0
- data/third_party/cares/cares/ares_expand_string.c +70 -0
- data/third_party/cares/cares/ares_fds.c +59 -0
- data/third_party/cares/cares/ares_free_hostent.c +41 -0
- data/third_party/cares/cares/ares_free_string.c +25 -0
- data/third_party/cares/cares/ares_getenv.c +30 -0
- data/third_party/cares/cares/ares_getenv.h +26 -0
- data/third_party/cares/cares/ares_gethostbyaddr.c +294 -0
- data/third_party/cares/cares/ares_gethostbyname.c +518 -0
- data/third_party/cares/cares/ares_getnameinfo.c +422 -0
- data/third_party/cares/cares/ares_getopt.c +122 -0
- data/third_party/cares/cares/ares_getopt.h +53 -0
- data/third_party/cares/cares/ares_getsock.c +66 -0
- data/third_party/cares/cares/ares_inet_net_pton.h +25 -0
- data/third_party/cares/cares/ares_init.c +2146 -0
- data/third_party/cares/cares/ares_iphlpapi.h +221 -0
- data/third_party/cares/cares/ares_ipv6.h +78 -0
- data/third_party/cares/cares/ares_library_init.c +167 -0
- data/third_party/cares/cares/ares_library_init.h +42 -0
- data/third_party/cares/cares/ares_llist.c +63 -0
- data/third_party/cares/cares/ares_llist.h +39 -0
- data/third_party/cares/cares/ares_mkquery.c +24 -0
- data/third_party/cares/cares/ares_nowarn.c +260 -0
- data/third_party/cares/cares/ares_nowarn.h +61 -0
- data/third_party/cares/cares/ares_options.c +402 -0
- data/third_party/cares/cares/ares_parse_a_reply.c +264 -0
- data/third_party/cares/cares/ares_parse_aaaa_reply.c +264 -0
- data/third_party/cares/cares/ares_parse_mx_reply.c +170 -0
- data/third_party/cares/cares/ares_parse_naptr_reply.c +188 -0
- data/third_party/cares/cares/ares_parse_ns_reply.c +183 -0
- data/third_party/cares/cares/ares_parse_ptr_reply.c +219 -0
- data/third_party/cares/cares/ares_parse_soa_reply.c +133 -0
- data/third_party/cares/cares/ares_parse_srv_reply.c +179 -0
- data/third_party/cares/cares/ares_parse_txt_reply.c +220 -0
- data/third_party/cares/cares/ares_platform.c +11035 -0
- data/third_party/cares/cares/ares_platform.h +43 -0
- data/third_party/cares/cares/ares_private.h +363 -0
- data/third_party/cares/cares/ares_process.c +1359 -0
- data/third_party/cares/cares/ares_query.c +186 -0
- data/third_party/cares/cares/ares_rules.h +125 -0
- data/third_party/cares/cares/ares_search.c +316 -0
- data/third_party/cares/cares/ares_send.c +131 -0
- data/third_party/cares/cares/ares_setup.h +217 -0
- data/third_party/cares/cares/ares_strcasecmp.c +66 -0
- data/third_party/cares/cares/ares_strcasecmp.h +30 -0
- data/third_party/cares/cares/ares_strdup.c +49 -0
- data/third_party/cares/cares/ares_strdup.h +24 -0
- data/third_party/cares/cares/ares_strerror.c +56 -0
- data/third_party/cares/cares/ares_timeout.c +88 -0
- data/third_party/cares/cares/ares_version.c +11 -0
- data/third_party/cares/cares/ares_version.h +24 -0
- data/third_party/cares/cares/ares_writev.c +79 -0
- data/third_party/cares/cares/bitncmp.c +59 -0
- data/third_party/cares/cares/bitncmp.h +26 -0
- data/third_party/cares/cares/config-win32.h +377 -0
- data/third_party/cares/cares/inet_net_pton.c +450 -0
- data/third_party/cares/cares/inet_ntop.c +208 -0
- data/third_party/cares/cares/setup_once.h +554 -0
- data/third_party/cares/cares/windows_port.c +22 -0
- data/third_party/cares/config_darwin/ares_config.h +523 -0
- data/third_party/cares/config_linux/ares_config.h +524 -0
- metadata +164 -68
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.3.4
|
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: 2017-
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -278,61 +278,67 @@ files:
|
|
278
278
|
- src/core/ext/census/trace_string.h
|
279
279
|
- src/core/ext/census/tracing.c
|
280
280
|
- src/core/ext/census/tracing.h
|
281
|
-
- src/core/ext/client_channel/channel_connectivity.c
|
282
|
-
- src/core/ext/client_channel/client_channel.c
|
283
|
-
- src/core/ext/client_channel/client_channel.h
|
284
|
-
- src/core/ext/client_channel/client_channel_factory.c
|
285
|
-
- src/core/ext/client_channel/client_channel_factory.h
|
286
|
-
- src/core/ext/client_channel/client_channel_plugin.c
|
287
|
-
- src/core/ext/client_channel/connector.c
|
288
|
-
- src/core/ext/client_channel/connector.h
|
289
|
-
- src/core/ext/client_channel/
|
290
|
-
- src/core/ext/client_channel/http_connect_handshaker.
|
291
|
-
- src/core/ext/client_channel/
|
292
|
-
- src/core/ext/client_channel/http_proxy.
|
293
|
-
- src/core/ext/client_channel/
|
294
|
-
- src/core/ext/client_channel/
|
295
|
-
- src/core/ext/client_channel/
|
296
|
-
- src/core/ext/client_channel/lb_policy.
|
297
|
-
- src/core/ext/client_channel/lb_policy.h
|
298
|
-
- src/core/ext/client_channel/
|
299
|
-
- src/core/ext/client_channel/
|
300
|
-
- src/core/ext/client_channel/
|
301
|
-
- src/core/ext/client_channel/
|
302
|
-
- src/core/ext/client_channel/
|
303
|
-
- src/core/ext/client_channel/
|
304
|
-
- src/core/ext/client_channel/
|
305
|
-
- src/core/ext/client_channel/
|
306
|
-
- src/core/ext/client_channel/
|
307
|
-
- src/core/ext/client_channel/
|
308
|
-
- src/core/ext/client_channel/
|
309
|
-
- src/core/ext/client_channel/
|
310
|
-
- src/core/ext/client_channel/
|
311
|
-
- src/core/ext/client_channel/
|
312
|
-
- src/core/ext/client_channel/
|
313
|
-
- src/core/ext/client_channel/
|
314
|
-
- src/core/ext/client_channel/
|
315
|
-
- src/core/ext/client_channel/
|
316
|
-
- src/core/ext/client_channel/
|
317
|
-
- src/core/ext/client_channel/
|
318
|
-
- src/core/ext/client_channel/
|
319
|
-
- src/core/ext/client_channel/
|
320
|
-
- src/core/ext/
|
321
|
-
- src/core/ext/
|
322
|
-
- src/core/ext/
|
323
|
-
- src/core/ext/
|
324
|
-
- src/core/ext/
|
325
|
-
- src/core/ext/
|
326
|
-
- src/core/ext/
|
327
|
-
- src/core/ext/
|
328
|
-
- src/core/ext/
|
329
|
-
- src/core/ext/
|
330
|
-
- src/core/ext/
|
331
|
-
- src/core/ext/
|
332
|
-
- src/core/ext/
|
333
|
-
- src/core/ext/
|
334
|
-
- src/core/ext/
|
335
|
-
- src/core/ext/
|
281
|
+
- src/core/ext/filters/client_channel/channel_connectivity.c
|
282
|
+
- src/core/ext/filters/client_channel/client_channel.c
|
283
|
+
- src/core/ext/filters/client_channel/client_channel.h
|
284
|
+
- src/core/ext/filters/client_channel/client_channel_factory.c
|
285
|
+
- src/core/ext/filters/client_channel/client_channel_factory.h
|
286
|
+
- src/core/ext/filters/client_channel/client_channel_plugin.c
|
287
|
+
- src/core/ext/filters/client_channel/connector.c
|
288
|
+
- src/core/ext/filters/client_channel/connector.h
|
289
|
+
- src/core/ext/filters/client_channel/http_connect_handshaker.c
|
290
|
+
- src/core/ext/filters/client_channel/http_connect_handshaker.h
|
291
|
+
- src/core/ext/filters/client_channel/http_proxy.c
|
292
|
+
- src/core/ext/filters/client_channel/http_proxy.h
|
293
|
+
- src/core/ext/filters/client_channel/lb_policy.c
|
294
|
+
- src/core/ext/filters/client_channel/lb_policy.h
|
295
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c
|
296
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h
|
297
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h
|
298
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c
|
299
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c
|
300
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h
|
301
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c
|
302
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h
|
303
|
+
- src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c
|
304
|
+
- src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c
|
305
|
+
- src/core/ext/filters/client_channel/lb_policy_factory.c
|
306
|
+
- src/core/ext/filters/client_channel/lb_policy_factory.h
|
307
|
+
- src/core/ext/filters/client_channel/lb_policy_registry.c
|
308
|
+
- src/core/ext/filters/client_channel/lb_policy_registry.h
|
309
|
+
- src/core/ext/filters/client_channel/parse_address.c
|
310
|
+
- src/core/ext/filters/client_channel/parse_address.h
|
311
|
+
- src/core/ext/filters/client_channel/proxy_mapper.c
|
312
|
+
- src/core/ext/filters/client_channel/proxy_mapper.h
|
313
|
+
- src/core/ext/filters/client_channel/proxy_mapper_registry.c
|
314
|
+
- src/core/ext/filters/client_channel/proxy_mapper_registry.h
|
315
|
+
- src/core/ext/filters/client_channel/resolver.c
|
316
|
+
- src/core/ext/filters/client_channel/resolver.h
|
317
|
+
- src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c
|
318
|
+
- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h
|
319
|
+
- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c
|
320
|
+
- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c
|
321
|
+
- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h
|
322
|
+
- src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c
|
323
|
+
- src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c
|
324
|
+
- src/core/ext/filters/client_channel/resolver_factory.c
|
325
|
+
- src/core/ext/filters/client_channel/resolver_factory.h
|
326
|
+
- src/core/ext/filters/client_channel/resolver_registry.c
|
327
|
+
- src/core/ext/filters/client_channel/resolver_registry.h
|
328
|
+
- src/core/ext/filters/client_channel/retry_throttle.c
|
329
|
+
- src/core/ext/filters/client_channel/retry_throttle.h
|
330
|
+
- src/core/ext/filters/client_channel/subchannel.c
|
331
|
+
- src/core/ext/filters/client_channel/subchannel.h
|
332
|
+
- src/core/ext/filters/client_channel/subchannel_index.c
|
333
|
+
- src/core/ext/filters/client_channel/subchannel_index.h
|
334
|
+
- src/core/ext/filters/client_channel/uri_parser.c
|
335
|
+
- src/core/ext/filters/client_channel/uri_parser.h
|
336
|
+
- src/core/ext/filters/load_reporting/load_reporting.c
|
337
|
+
- src/core/ext/filters/load_reporting/load_reporting.h
|
338
|
+
- src/core/ext/filters/load_reporting/load_reporting_filter.c
|
339
|
+
- src/core/ext/filters/load_reporting/load_reporting_filter.h
|
340
|
+
- src/core/ext/filters/max_age/max_age_filter.c
|
341
|
+
- src/core/ext/filters/max_age/max_age_filter.h
|
336
342
|
- src/core/ext/transport/chttp2/alpn/alpn.c
|
337
343
|
- src/core/ext/transport/chttp2/alpn/alpn.h
|
338
344
|
- src/core/ext/transport/chttp2/client/chttp2_connector.c
|
@@ -371,6 +377,8 @@ files:
|
|
371
377
|
- src/core/ext/transport/chttp2/transport/hpack_parser.h
|
372
378
|
- src/core/ext/transport/chttp2/transport/hpack_table.c
|
373
379
|
- src/core/ext/transport/chttp2/transport/hpack_table.h
|
380
|
+
- src/core/ext/transport/chttp2/transport/http2_settings.c
|
381
|
+
- src/core/ext/transport/chttp2/transport/http2_settings.h
|
374
382
|
- src/core/ext/transport/chttp2/transport/huffsyms.c
|
375
383
|
- src/core/ext/transport/chttp2/transport/huffsyms.h
|
376
384
|
- src/core/ext/transport/chttp2/transport/incoming_metadata.c
|
@@ -455,6 +463,8 @@ files:
|
|
455
463
|
- src/core/lib/iomgr/iomgr_windows.c
|
456
464
|
- src/core/lib/iomgr/load_file.c
|
457
465
|
- src/core/lib/iomgr/load_file.h
|
466
|
+
- src/core/lib/iomgr/lockfree_event.c
|
467
|
+
- src/core/lib/iomgr/lockfree_event.h
|
458
468
|
- src/core/lib/iomgr/network_status_tracker.c
|
459
469
|
- src/core/lib/iomgr/network_status_tracker.h
|
460
470
|
- src/core/lib/iomgr/polling_entity.c
|
@@ -480,6 +490,8 @@ files:
|
|
480
490
|
- src/core/lib/iomgr/sockaddr_utils.c
|
481
491
|
- src/core/lib/iomgr/sockaddr_utils.h
|
482
492
|
- src/core/lib/iomgr/sockaddr_windows.h
|
493
|
+
- src/core/lib/iomgr/socket_factory_posix.c
|
494
|
+
- src/core/lib/iomgr/socket_factory_posix.h
|
483
495
|
- src/core/lib/iomgr/socket_mutator.c
|
484
496
|
- src/core/lib/iomgr/socket_mutator.h
|
485
497
|
- src/core/lib/iomgr/socket_utils.h
|
@@ -500,6 +512,10 @@ files:
|
|
500
512
|
- src/core/lib/iomgr/tcp_posix.h
|
501
513
|
- src/core/lib/iomgr/tcp_server.h
|
502
514
|
- src/core/lib/iomgr/tcp_server_posix.c
|
515
|
+
- src/core/lib/iomgr/tcp_server_utils_posix.h
|
516
|
+
- src/core/lib/iomgr/tcp_server_utils_posix_common.c
|
517
|
+
- src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c
|
518
|
+
- src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c
|
503
519
|
- src/core/lib/iomgr/tcp_server_uv.c
|
504
520
|
- src/core/lib/iomgr/tcp_server_windows.c
|
505
521
|
- src/core/lib/iomgr/tcp_uv.c
|
@@ -583,10 +599,10 @@ files:
|
|
583
599
|
- src/core/lib/security/transport/server_auth_filter.c
|
584
600
|
- src/core/lib/security/transport/tsi_error.c
|
585
601
|
- src/core/lib/security/transport/tsi_error.h
|
586
|
-
- src/core/lib/security/util/b64.c
|
587
|
-
- src/core/lib/security/util/b64.h
|
588
602
|
- src/core/lib/security/util/json_util.c
|
589
603
|
- src/core/lib/security/util/json_util.h
|
604
|
+
- src/core/lib/slice/b64.c
|
605
|
+
- src/core/lib/slice/b64.h
|
590
606
|
- src/core/lib/slice/percent_encoding.c
|
591
607
|
- src/core/lib/slice/percent_encoding.h
|
592
608
|
- src/core/lib/slice/slice.c
|
@@ -598,6 +614,9 @@ files:
|
|
598
614
|
- src/core/lib/slice/slice_string_helpers.c
|
599
615
|
- src/core/lib/slice/slice_string_helpers.h
|
600
616
|
- src/core/lib/support/alloc.c
|
617
|
+
- src/core/lib/support/arena.c
|
618
|
+
- src/core/lib/support/arena.h
|
619
|
+
- src/core/lib/support/atm.c
|
601
620
|
- src/core/lib/support/avl.c
|
602
621
|
- src/core/lib/support/backoff.c
|
603
622
|
- src/core/lib/support/backoff.h
|
@@ -670,6 +689,8 @@ files:
|
|
670
689
|
- src/core/lib/surface/channel_stack_type.h
|
671
690
|
- src/core/lib/surface/completion_queue.c
|
672
691
|
- src/core/lib/surface/completion_queue.h
|
692
|
+
- src/core/lib/surface/completion_queue_factory.c
|
693
|
+
- src/core/lib/surface/completion_queue_factory.h
|
673
694
|
- src/core/lib/surface/event_string.c
|
674
695
|
- src/core/lib/surface/event_string.h
|
675
696
|
- src/core/lib/surface/init.c
|
@@ -710,15 +731,15 @@ files:
|
|
710
731
|
- src/core/lib/transport/transport.h
|
711
732
|
- src/core/lib/transport/transport_impl.h
|
712
733
|
- src/core/lib/transport/transport_op_string.c
|
713
|
-
- src/core/lib/tsi/fake_transport_security.c
|
714
|
-
- src/core/lib/tsi/fake_transport_security.h
|
715
|
-
- src/core/lib/tsi/ssl_transport_security.c
|
716
|
-
- src/core/lib/tsi/ssl_transport_security.h
|
717
|
-
- src/core/lib/tsi/ssl_types.h
|
718
|
-
- src/core/lib/tsi/transport_security.c
|
719
|
-
- src/core/lib/tsi/transport_security.h
|
720
|
-
- src/core/lib/tsi/transport_security_interface.h
|
721
734
|
- src/core/plugin_registry/grpc_plugin_registry.c
|
735
|
+
- src/core/tsi/fake_transport_security.c
|
736
|
+
- src/core/tsi/fake_transport_security.h
|
737
|
+
- src/core/tsi/ssl_transport_security.c
|
738
|
+
- src/core/tsi/ssl_transport_security.h
|
739
|
+
- src/core/tsi/ssl_types.h
|
740
|
+
- src/core/tsi/transport_security.c
|
741
|
+
- src/core/tsi/transport_security.h
|
742
|
+
- src/core/tsi/transport_security_interface.h
|
722
743
|
- src/ruby/bin/apis/google/protobuf/empty.rb
|
723
744
|
- src/ruby/bin/apis/pubsub_demo.rb
|
724
745
|
- src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb
|
@@ -787,6 +808,7 @@ files:
|
|
787
808
|
- src/ruby/pb/test/server.rb
|
788
809
|
- src/ruby/spec/call_credentials_spec.rb
|
789
810
|
- src/ruby/spec/call_spec.rb
|
811
|
+
- src/ruby/spec/channel_connection_spec.rb
|
790
812
|
- src/ruby/spec/channel_credentials_spec.rb
|
791
813
|
- src/ruby/spec/channel_spec.rb
|
792
814
|
- src/ruby/spec/client_server_spec.rb
|
@@ -1215,6 +1237,79 @@ files:
|
|
1215
1237
|
- third_party/boringssl/ssl/tls13_server.c
|
1216
1238
|
- third_party/boringssl/ssl/tls_method.c
|
1217
1239
|
- third_party/boringssl/ssl/tls_record.c
|
1240
|
+
- third_party/cares/ares_build.h
|
1241
|
+
- third_party/cares/cares/ares.h
|
1242
|
+
- third_party/cares/cares/ares__close_sockets.c
|
1243
|
+
- third_party/cares/cares/ares__get_hostent.c
|
1244
|
+
- third_party/cares/cares/ares__read_line.c
|
1245
|
+
- third_party/cares/cares/ares__timeval.c
|
1246
|
+
- third_party/cares/cares/ares_cancel.c
|
1247
|
+
- third_party/cares/cares/ares_create_query.c
|
1248
|
+
- third_party/cares/cares/ares_data.c
|
1249
|
+
- third_party/cares/cares/ares_data.h
|
1250
|
+
- third_party/cares/cares/ares_destroy.c
|
1251
|
+
- third_party/cares/cares/ares_dns.h
|
1252
|
+
- third_party/cares/cares/ares_expand_name.c
|
1253
|
+
- third_party/cares/cares/ares_expand_string.c
|
1254
|
+
- third_party/cares/cares/ares_fds.c
|
1255
|
+
- third_party/cares/cares/ares_free_hostent.c
|
1256
|
+
- third_party/cares/cares/ares_free_string.c
|
1257
|
+
- third_party/cares/cares/ares_getenv.c
|
1258
|
+
- third_party/cares/cares/ares_getenv.h
|
1259
|
+
- third_party/cares/cares/ares_gethostbyaddr.c
|
1260
|
+
- third_party/cares/cares/ares_gethostbyname.c
|
1261
|
+
- third_party/cares/cares/ares_getnameinfo.c
|
1262
|
+
- third_party/cares/cares/ares_getopt.c
|
1263
|
+
- third_party/cares/cares/ares_getopt.h
|
1264
|
+
- third_party/cares/cares/ares_getsock.c
|
1265
|
+
- third_party/cares/cares/ares_inet_net_pton.h
|
1266
|
+
- third_party/cares/cares/ares_init.c
|
1267
|
+
- third_party/cares/cares/ares_iphlpapi.h
|
1268
|
+
- third_party/cares/cares/ares_ipv6.h
|
1269
|
+
- third_party/cares/cares/ares_library_init.c
|
1270
|
+
- third_party/cares/cares/ares_library_init.h
|
1271
|
+
- third_party/cares/cares/ares_llist.c
|
1272
|
+
- third_party/cares/cares/ares_llist.h
|
1273
|
+
- third_party/cares/cares/ares_mkquery.c
|
1274
|
+
- third_party/cares/cares/ares_nowarn.c
|
1275
|
+
- third_party/cares/cares/ares_nowarn.h
|
1276
|
+
- third_party/cares/cares/ares_options.c
|
1277
|
+
- third_party/cares/cares/ares_parse_a_reply.c
|
1278
|
+
- third_party/cares/cares/ares_parse_aaaa_reply.c
|
1279
|
+
- third_party/cares/cares/ares_parse_mx_reply.c
|
1280
|
+
- third_party/cares/cares/ares_parse_naptr_reply.c
|
1281
|
+
- third_party/cares/cares/ares_parse_ns_reply.c
|
1282
|
+
- third_party/cares/cares/ares_parse_ptr_reply.c
|
1283
|
+
- third_party/cares/cares/ares_parse_soa_reply.c
|
1284
|
+
- third_party/cares/cares/ares_parse_srv_reply.c
|
1285
|
+
- third_party/cares/cares/ares_parse_txt_reply.c
|
1286
|
+
- third_party/cares/cares/ares_platform.c
|
1287
|
+
- third_party/cares/cares/ares_platform.h
|
1288
|
+
- third_party/cares/cares/ares_private.h
|
1289
|
+
- third_party/cares/cares/ares_process.c
|
1290
|
+
- third_party/cares/cares/ares_query.c
|
1291
|
+
- third_party/cares/cares/ares_rules.h
|
1292
|
+
- third_party/cares/cares/ares_search.c
|
1293
|
+
- third_party/cares/cares/ares_send.c
|
1294
|
+
- third_party/cares/cares/ares_setup.h
|
1295
|
+
- third_party/cares/cares/ares_strcasecmp.c
|
1296
|
+
- third_party/cares/cares/ares_strcasecmp.h
|
1297
|
+
- third_party/cares/cares/ares_strdup.c
|
1298
|
+
- third_party/cares/cares/ares_strdup.h
|
1299
|
+
- third_party/cares/cares/ares_strerror.c
|
1300
|
+
- third_party/cares/cares/ares_timeout.c
|
1301
|
+
- third_party/cares/cares/ares_version.c
|
1302
|
+
- third_party/cares/cares/ares_version.h
|
1303
|
+
- third_party/cares/cares/ares_writev.c
|
1304
|
+
- third_party/cares/cares/bitncmp.c
|
1305
|
+
- third_party/cares/cares/bitncmp.h
|
1306
|
+
- third_party/cares/cares/config-win32.h
|
1307
|
+
- third_party/cares/cares/inet_net_pton.c
|
1308
|
+
- third_party/cares/cares/inet_ntop.c
|
1309
|
+
- third_party/cares/cares/setup_once.h
|
1310
|
+
- third_party/cares/cares/windows_port.c
|
1311
|
+
- third_party/cares/config_darwin/ares_config.h
|
1312
|
+
- third_party/cares/config_linux/ares_config.h
|
1218
1313
|
- third_party/nanopb/pb.h
|
1219
1314
|
- third_party/nanopb/pb_common.c
|
1220
1315
|
- third_party/nanopb/pb_common.h
|
@@ -1270,7 +1365,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1270
1365
|
version: '0'
|
1271
1366
|
requirements: []
|
1272
1367
|
rubyforge_project:
|
1273
|
-
rubygems_version: 2.6.
|
1368
|
+
rubygems_version: 2.6.12
|
1274
1369
|
signing_key:
|
1275
1370
|
specification_version: 4
|
1276
1371
|
summary: GRPC system in Ruby
|
@@ -1295,6 +1390,7 @@ test_files:
|
|
1295
1390
|
- src/ruby/spec/time_consts_spec.rb
|
1296
1391
|
- src/ruby/spec/channel_credentials_spec.rb
|
1297
1392
|
- src/ruby/spec/call_credentials_spec.rb
|
1393
|
+
- src/ruby/spec/channel_connection_spec.rb
|
1298
1394
|
- src/ruby/spec/server_spec.rb
|
1299
1395
|
- src/ruby/spec/error_sanity_spec.rb
|
1300
1396
|
- src/ruby/spec/compression_options_spec.rb
|