wearefair-grpc 1.3.1.pre.c → 1.4.0.fair
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +418 -126
- data/include/grpc/grpc.h +15 -69
- data/include/grpc/grpc_security.h +1 -1
- data/include/grpc/impl/codegen/compression_types.h +3 -4
- data/include/grpc/impl/codegen/gpr_types.h +0 -1
- data/include/grpc/impl/codegen/grpc_types.h +69 -3
- data/include/grpc/impl/codegen/port_platform.h +6 -0
- data/include/grpc/impl/codegen/slice.h +2 -1
- data/include/grpc/load_reporting.h +6 -6
- data/include/grpc/slice.h +25 -3
- data/include/grpc/slice_buffer.h +4 -0
- data/src/core/ext/census/context.c +1 -1
- data/src/core/ext/census/resource.c +3 -1
- data/src/core/ext/filters/client_channel/channel_connectivity.c +1 -1
- data/src/core/ext/filters/client_channel/client_channel.c +158 -100
- data/src/core/ext/filters/client_channel/client_channel_plugin.c +3 -2
- data/src/core/ext/filters/client_channel/lb_policy.c +2 -1
- data/src/core/ext/filters/client_channel/lb_policy.h +5 -6
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +153 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +42 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +344 -88
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +133 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +65 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +47 -5
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +6 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +19 -8
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +63 -34
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +2 -1
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +13 -12
- data/src/core/ext/filters/client_channel/lb_policy_factory.c +28 -5
- data/src/core/ext/filters/client_channel/lb_policy_factory.h +18 -4
- data/src/core/ext/filters/client_channel/parse_address.c +37 -7
- data/src/core/ext/filters/client_channel/parse_address.h +11 -8
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c +3 -3
- data/src/core/ext/filters/client_channel/subchannel.c +19 -16
- data/src/core/ext/filters/client_channel/subchannel.h +1 -0
- data/src/core/ext/filters/client_channel/uri_parser.c +36 -22
- data/src/core/ext/filters/client_channel/uri_parser.h +1 -1
- data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.c +42 -17
- data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.h +8 -9
- data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.c +19 -11
- data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.h +3 -6
- data/src/core/ext/filters/http/http_filters_plugin.c +104 -0
- data/src/core/{lib/channel/compress_filter.c → ext/filters/http/message_compress/message_compress_filter.c} +124 -23
- data/src/core/{lib/channel/compress_filter.h → ext/filters/http/message_compress/message_compress_filter.h} +5 -6
- data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.c +4 -6
- data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.h +3 -3
- data/src/core/ext/filters/load_reporting/load_reporting.c +2 -25
- data/src/core/ext/filters/load_reporting/load_reporting_filter.c +26 -1
- data/src/core/ext/filters/max_age/max_age_filter.c +14 -14
- data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.c +91 -47
- data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.h +3 -3
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.c +2 -2
- data/src/core/ext/transport/chttp2/transport/bin_decoder.c +2 -2
- data/src/core/ext/transport/chttp2/transport/bin_encoder.c +3 -3
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +296 -172
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -2
- data/src/core/ext/transport/chttp2/transport/frame_data.c +203 -164
- data/src/core/ext/transport/chttp2/transport/frame_data.h +8 -14
- data/src/core/ext/transport/chttp2/transport/frame_goaway.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.c +5 -5
- data/src/core/ext/transport/chttp2/transport/frame_window_update.c +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +4 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parser.c +2 -4
- data/src/core/ext/transport/chttp2/transport/hpack_table.c +4 -3
- data/src/core/ext/transport/chttp2/transport/internal.h +50 -33
- data/src/core/ext/transport/chttp2/transport/parsing.c +10 -11
- data/src/core/ext/transport/chttp2/transport/writing.c +32 -13
- data/src/core/lib/channel/channel_args.c +28 -9
- data/src/core/lib/channel/channel_args.h +5 -1
- data/src/core/lib/channel/channel_stack.c +1 -1
- data/src/core/lib/channel/channel_stack.h +2 -2
- data/src/core/lib/channel/channel_stack_builder.c +13 -1
- data/src/core/lib/channel/channel_stack_builder.h +5 -1
- data/src/core/lib/channel/connected_channel.c +3 -1
- data/src/core/lib/channel/context.h +2 -2
- data/src/core/lib/compression/message_compress.c +2 -2
- data/src/core/lib/debug/trace.c +13 -6
- data/src/core/lib/debug/trace.h +27 -1
- data/src/core/lib/http/httpcli.c +1 -1
- data/src/core/lib/http/httpcli_security_connector.c +6 -10
- data/src/core/lib/http/parser.c +2 -2
- data/src/core/lib/http/parser.h +2 -1
- data/src/core/lib/iomgr/combiner.c +6 -6
- data/src/core/lib/iomgr/combiner.h +2 -1
- data/src/core/lib/iomgr/error.c +12 -5
- data/src/core/lib/iomgr/error.h +13 -13
- data/src/core/lib/iomgr/ev_epoll1_linux.c +984 -0
- data/src/core/lib/iomgr/ev_epoll1_linux.h +44 -0
- data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +2146 -0
- data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.h +43 -0
- data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +1337 -0
- data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.h +43 -0
- data/src/core/lib/iomgr/ev_epollex_linux.c +1511 -0
- data/src/core/lib/iomgr/ev_epollex_linux.h +43 -0
- data/src/core/lib/iomgr/{ev_epoll_linux.c → ev_epollsig_linux.c} +24 -31
- data/src/core/lib/iomgr/{ev_epoll_linux.h → ev_epollsig_linux.h} +4 -4
- data/src/core/lib/iomgr/ev_poll_posix.c +12 -27
- data/src/core/lib/iomgr/ev_poll_posix.h +2 -2
- data/src/core/lib/iomgr/ev_posix.c +22 -8
- data/src/core/lib/iomgr/ev_posix.h +4 -3
- data/src/core/lib/iomgr/exec_ctx.c +5 -0
- data/src/core/lib/iomgr/exec_ctx.h +2 -0
- data/src/core/lib/iomgr/iomgr.c +4 -0
- data/src/core/lib/iomgr/iomgr.h +3 -0
- data/src/core/lib/iomgr/is_epollexclusive_available.c +116 -0
- data/src/core/lib/iomgr/is_epollexclusive_available.h +41 -0
- data/src/core/lib/iomgr/lockfree_event.c +16 -0
- data/src/core/lib/iomgr/pollset.h +2 -5
- data/src/core/lib/iomgr/pollset_uv.c +1 -1
- data/src/core/lib/iomgr/pollset_windows.c +3 -3
- data/src/core/lib/iomgr/resource_quota.c +9 -8
- data/src/core/lib/iomgr/resource_quota.h +2 -1
- data/src/core/lib/iomgr/sockaddr_utils.h +1 -1
- data/src/core/lib/iomgr/socket_mutator.h +2 -0
- data/src/core/lib/iomgr/sys_epoll_wrapper.h +43 -0
- data/src/core/lib/iomgr/tcp_client_posix.c +6 -6
- data/src/core/lib/iomgr/tcp_client_uv.c +3 -3
- data/src/core/lib/iomgr/tcp_posix.c +7 -7
- data/src/core/lib/iomgr/tcp_posix.h +2 -1
- data/src/core/lib/iomgr/tcp_server_posix.c +1 -1
- data/src/core/lib/iomgr/tcp_uv.c +6 -6
- data/src/core/lib/iomgr/tcp_uv.h +2 -1
- data/src/core/lib/iomgr/tcp_windows.c +1 -1
- data/src/core/lib/iomgr/timer_generic.c +24 -25
- data/src/core/lib/iomgr/timer_manager.c +276 -0
- data/src/core/lib/iomgr/timer_manager.h +52 -0
- data/src/core/lib/iomgr/timer_uv.c +6 -0
- data/src/core/lib/iomgr/udp_server.c +42 -9
- data/src/core/lib/iomgr/udp_server.h +3 -1
- data/src/core/lib/security/credentials/credentials.c +0 -1
- data/src/core/lib/security/credentials/fake/fake_credentials.c +23 -0
- data/src/core/lib/security/credentials/fake/fake_credentials.h +12 -9
- data/src/core/lib/security/credentials/google_default/google_default_credentials.c +1 -1
- data/src/core/lib/security/credentials/jwt/jwt_credentials.c +1 -1
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +1 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.c +24 -53
- data/src/core/lib/security/transport/client_auth_filter.c +9 -3
- data/src/core/lib/security/transport/secure_endpoint.c +7 -7
- data/src/core/lib/security/transport/secure_endpoint.h +1 -1
- data/src/core/lib/security/transport/security_connector.c +32 -51
- data/src/core/lib/security/transport/security_connector.h +10 -14
- data/src/core/lib/slice/b64.c +1 -1
- data/src/core/lib/slice/percent_encoding.c +3 -3
- data/src/core/lib/slice/slice.c +66 -33
- data/src/core/lib/slice/slice_buffer.c +25 -6
- data/src/core/lib/slice/slice_hash_table.c +33 -35
- data/src/core/lib/slice/slice_hash_table.h +7 -12
- data/src/core/lib/support/atomic.h +45 -0
- data/src/core/lib/support/atomic_with_atm.h +70 -0
- data/src/core/lib/support/atomic_with_std.h +48 -0
- data/src/core/lib/support/avl.c +14 -14
- data/src/core/lib/support/memory.h +74 -0
- data/src/core/lib/support/mpscq.c +12 -1
- data/src/core/lib/support/mpscq.h +4 -0
- data/src/core/lib/support/stack_lockfree.c +3 -36
- data/src/core/lib/support/time_posix.c +8 -0
- data/src/core/lib/support/tmpfile_posix.c +10 -10
- data/src/core/lib/surface/alarm.c +3 -1
- data/src/core/lib/surface/api_trace.c +2 -1
- data/src/core/lib/surface/api_trace.h +2 -2
- data/src/core/lib/surface/byte_buffer_reader.c +1 -1
- data/src/core/lib/surface/call.c +65 -22
- data/src/core/lib/surface/call.h +4 -2
- data/src/core/lib/surface/channel_init.c +2 -19
- data/src/core/lib/surface/channel_stack_type.c +18 -0
- data/src/core/lib/surface/channel_stack_type.h +2 -0
- data/src/core/lib/surface/completion_queue.c +249 -83
- data/src/core/lib/surface/completion_queue.h +18 -13
- data/src/core/lib/surface/completion_queue_factory.c +24 -9
- data/src/core/lib/surface/init.c +1 -52
- data/src/core/lib/surface/{lame_client.c → lame_client.cc} +37 -26
- data/src/core/lib/surface/server.c +50 -27
- data/src/core/lib/surface/server.h +2 -1
- data/src/core/lib/surface/version.c +2 -2
- data/src/core/lib/transport/bdp_estimator.c +20 -9
- data/src/core/lib/transport/bdp_estimator.h +5 -1
- data/src/core/lib/transport/byte_stream.c +23 -9
- data/src/core/lib/transport/byte_stream.h +15 -6
- data/src/core/lib/transport/connectivity_state.c +6 -6
- data/src/core/lib/transport/connectivity_state.h +2 -1
- data/src/core/lib/transport/service_config.c +6 -13
- data/src/core/lib/transport/service_config.h +2 -2
- data/src/core/lib/transport/static_metadata.c +403 -389
- data/src/core/lib/transport/static_metadata.h +127 -114
- data/src/core/plugin_registry/grpc_plugin_registry.c +12 -0
- data/src/core/tsi/fake_transport_security.c +5 -4
- data/src/core/tsi/ssl_transport_security.c +71 -82
- data/src/core/tsi/ssl_transport_security.h +39 -61
- data/src/core/tsi/transport_security.c +83 -2
- data/src/core/tsi/transport_security.h +27 -2
- data/src/core/tsi/transport_security_adapter.c +236 -0
- data/src/core/tsi/transport_security_adapter.h +62 -0
- data/src/core/tsi/transport_security_interface.h +179 -66
- data/src/ruby/ext/grpc/extconf.rb +2 -1
- data/src/ruby/ext/grpc/rb_byte_buffer.c +8 -6
- data/src/ruby/ext/grpc/rb_call.c +56 -48
- data/src/ruby/ext/grpc/rb_call.h +3 -4
- data/src/ruby/ext/grpc/rb_call_credentials.c +23 -22
- data/src/ruby/ext/grpc/rb_channel.c +45 -29
- data/src/ruby/ext/grpc/rb_channel_args.c +11 -9
- data/src/ruby/ext/grpc/rb_channel_credentials.c +16 -12
- data/src/ruby/ext/grpc/rb_completion_queue.c +7 -9
- data/src/ruby/ext/grpc/rb_compression_options.c +7 -6
- data/src/ruby/ext/grpc/rb_event_thread.c +10 -12
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -2
- data/src/ruby/ext/grpc/rb_grpc.c +11 -15
- data/src/ruby/ext/grpc/rb_grpc.h +2 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +14 -6
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +22 -10
- data/src/ruby/ext/grpc/rb_server.c +26 -28
- data/src/ruby/lib/grpc/version.rb +1 -1
- metadata +40 -18
- data/src/ruby/lib/grpc/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/grpc_c.so +0 -0
@@ -37,15 +37,15 @@
|
|
37
37
|
#include "rb_server.h"
|
38
38
|
|
39
39
|
#include <grpc/grpc.h>
|
40
|
-
#include <grpc/support/atm.h>
|
41
40
|
#include <grpc/grpc_security.h>
|
41
|
+
#include <grpc/support/atm.h>
|
42
42
|
#include <grpc/support/log.h>
|
43
|
+
#include "rb_byte_buffer.h"
|
43
44
|
#include "rb_call.h"
|
44
45
|
#include "rb_channel_args.h"
|
45
46
|
#include "rb_completion_queue.h"
|
46
|
-
#include "rb_server_credentials.h"
|
47
|
-
#include "rb_byte_buffer.h"
|
48
47
|
#include "rb_grpc.h"
|
48
|
+
#include "rb_server_credentials.h"
|
49
49
|
|
50
50
|
/* grpc_rb_cServer is the ruby class that proxies grpc_server. */
|
51
51
|
static VALUE grpc_rb_cServer = Qnil;
|
@@ -93,9 +93,8 @@ static void grpc_rb_server_free(void *p) {
|
|
93
93
|
};
|
94
94
|
svr = (grpc_rb_server *)p;
|
95
95
|
|
96
|
-
deadline = gpr_time_add(
|
97
|
-
|
98
|
-
gpr_time_from_seconds(2, GPR_TIMESPAN));
|
96
|
+
deadline = gpr_time_add(gpr_now(GPR_CLOCK_REALTIME),
|
97
|
+
gpr_time_from_seconds(2, GPR_TIMESPAN));
|
99
98
|
|
100
99
|
destroy_server(svr, deadline);
|
101
100
|
|
@@ -104,13 +103,15 @@ static void grpc_rb_server_free(void *p) {
|
|
104
103
|
|
105
104
|
static const rb_data_type_t grpc_rb_server_data_type = {
|
106
105
|
"grpc_server",
|
107
|
-
{GRPC_RB_GC_NOT_MARKED,
|
106
|
+
{GRPC_RB_GC_NOT_MARKED,
|
107
|
+
grpc_rb_server_free,
|
108
|
+
GRPC_RB_MEMSIZE_UNAVAILABLE,
|
108
109
|
{NULL, NULL}},
|
109
110
|
NULL,
|
110
111
|
NULL,
|
111
112
|
#ifdef RUBY_TYPED_FREE_IMMEDIATELY
|
112
|
-
/* It is unsafe to specify RUBY_TYPED_FREE_IMMEDIATELY because the free
|
113
|
-
* and we might want to unlock GVL
|
113
|
+
/* It is unsafe to specify RUBY_TYPED_FREE_IMMEDIATELY because the free
|
114
|
+
* function would block and we might want to unlock GVL
|
114
115
|
* TODO(yugui) Unlock GVL?
|
115
116
|
*/
|
116
117
|
0,
|
@@ -139,7 +140,7 @@ static VALUE grpc_rb_server_init(VALUE self, VALUE channel_args) {
|
|
139
140
|
|
140
141
|
grpc_ruby_once_init();
|
141
142
|
|
142
|
-
cq =
|
143
|
+
cq = grpc_completion_queue_create_for_pluck(NULL);
|
143
144
|
TypedData_Get_Struct(self, grpc_rb_server, &grpc_rb_server_data_type,
|
144
145
|
wrapper);
|
145
146
|
grpc_rb_hash_convert_to_channel_args(channel_args, &args);
|
@@ -167,7 +168,7 @@ typedef struct request_call_stack {
|
|
167
168
|
|
168
169
|
/* grpc_request_call_stack_init ensures the request_call_stack is properly
|
169
170
|
* initialized */
|
170
|
-
static void grpc_request_call_stack_init(request_call_stack*
|
171
|
+
static void grpc_request_call_stack_init(request_call_stack *st) {
|
171
172
|
MEMZERO(st, request_call_stack, 1);
|
172
173
|
grpc_metadata_array_init(&st->md_ary);
|
173
174
|
grpc_call_details_init(&st->details);
|
@@ -175,7 +176,7 @@ static void grpc_request_call_stack_init(request_call_stack* st) {
|
|
175
176
|
|
176
177
|
/* grpc_request_call_stack_cleanup ensures the request_call_stack is properly
|
177
178
|
* cleaned up */
|
178
|
-
static void grpc_request_call_stack_cleanup(request_call_stack*
|
179
|
+
static void grpc_request_call_stack_cleanup(request_call_stack *st) {
|
179
180
|
grpc_metadata_array_destroy(&st->md_ary);
|
180
181
|
grpc_call_details_destroy(&st->details);
|
181
182
|
}
|
@@ -191,8 +192,9 @@ static VALUE grpc_rb_server_request_call(VALUE self) {
|
|
191
192
|
grpc_call_error err;
|
192
193
|
request_call_stack st;
|
193
194
|
VALUE result;
|
194
|
-
void *tag = (void*)&st;
|
195
|
-
grpc_completion_queue *call_queue =
|
195
|
+
void *tag = (void *)&st;
|
196
|
+
grpc_completion_queue *call_queue =
|
197
|
+
grpc_completion_queue_create_for_pluck(NULL);
|
196
198
|
gpr_timespec deadline;
|
197
199
|
|
198
200
|
TypedData_Get_Struct(self, grpc_rb_server, &grpc_rb_server_data_type, s);
|
@@ -203,9 +205,8 @@ static VALUE grpc_rb_server_request_call(VALUE self) {
|
|
203
205
|
grpc_request_call_stack_init(&st);
|
204
206
|
/* call grpc_server_request_call, then wait for it to complete using
|
205
207
|
* pluck_event */
|
206
|
-
err = grpc_server_request_call(
|
207
|
-
|
208
|
-
call_queue, s->queue, tag);
|
208
|
+
err = grpc_server_request_call(s->wrapped, &call, &st.details, &st.md_ary,
|
209
|
+
call_queue, s->queue, tag);
|
209
210
|
if (err != GRPC_CALL_OK) {
|
210
211
|
grpc_request_call_stack_cleanup(&st);
|
211
212
|
rb_raise(grpc_rb_eCallError,
|
@@ -301,8 +302,7 @@ static VALUE grpc_rb_server_add_http2_port(VALUE self, VALUE port,
|
|
301
302
|
return Qnil;
|
302
303
|
} else if (TYPE(rb_creds) == T_SYMBOL) {
|
303
304
|
if (id_insecure_server != SYM2ID(rb_creds)) {
|
304
|
-
rb_raise(rb_eTypeError,
|
305
|
-
"bad creds symbol, want :this_port_is_insecure");
|
305
|
+
rb_raise(rb_eTypeError, "bad creds symbol, want :this_port_is_insecure");
|
306
306
|
return Qnil;
|
307
307
|
}
|
308
308
|
recvd_port =
|
@@ -314,9 +314,8 @@ static VALUE grpc_rb_server_add_http2_port(VALUE self, VALUE port,
|
|
314
314
|
}
|
315
315
|
} else {
|
316
316
|
creds = grpc_rb_get_wrapped_server_credentials(rb_creds);
|
317
|
-
recvd_port =
|
318
|
-
|
319
|
-
creds);
|
317
|
+
recvd_port = grpc_server_add_secure_http2_port(
|
318
|
+
s->wrapped, StringValueCStr(port), creds);
|
320
319
|
if (recvd_port == 0) {
|
321
320
|
rb_raise(rb_eRuntimeError,
|
322
321
|
"could not add secure port %s to server, not sure why",
|
@@ -335,18 +334,17 @@ void Init_grpc_server() {
|
|
335
334
|
|
336
335
|
/* Provides a ruby constructor and support for dup/clone. */
|
337
336
|
rb_define_method(grpc_rb_cServer, "initialize", grpc_rb_server_init, 1);
|
338
|
-
rb_define_method(grpc_rb_cServer, "initialize_copy",
|
339
|
-
|
337
|
+
rb_define_method(grpc_rb_cServer, "initialize_copy", grpc_rb_cannot_init_copy,
|
338
|
+
1);
|
340
339
|
|
341
340
|
/* Add the server methods. */
|
342
|
-
rb_define_method(grpc_rb_cServer, "request_call",
|
343
|
-
|
341
|
+
rb_define_method(grpc_rb_cServer, "request_call", grpc_rb_server_request_call,
|
342
|
+
0);
|
344
343
|
rb_define_method(grpc_rb_cServer, "start", grpc_rb_server_start, 0);
|
345
344
|
rb_define_method(grpc_rb_cServer, "destroy", grpc_rb_server_destroy, -1);
|
346
345
|
rb_define_alias(grpc_rb_cServer, "close", "destroy");
|
347
346
|
rb_define_method(grpc_rb_cServer, "add_http2_port",
|
348
|
-
grpc_rb_server_add_http2_port,
|
349
|
-
2);
|
347
|
+
grpc_rb_server_add_http2_port, 2);
|
350
348
|
id_at = rb_intern("at");
|
351
349
|
id_insecure_server = rb_intern("this_port_is_insecure");
|
352
350
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wearefair-grpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0.fair
|
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-05-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -292,10 +292,14 @@ files:
|
|
292
292
|
- src/core/ext/filters/client_channel/http_proxy.h
|
293
293
|
- src/core/ext/filters/client_channel/lb_policy.c
|
294
294
|
- src/core/ext/filters/client_channel/lb_policy.h
|
295
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c
|
296
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h
|
295
297
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c
|
296
298
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h
|
297
299
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h
|
298
300
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c
|
301
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c
|
302
|
+
- src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h
|
299
303
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c
|
300
304
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h
|
301
305
|
- src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c
|
@@ -333,12 +337,23 @@ files:
|
|
333
337
|
- src/core/ext/filters/client_channel/subchannel_index.h
|
334
338
|
- src/core/ext/filters/client_channel/uri_parser.c
|
335
339
|
- src/core/ext/filters/client_channel/uri_parser.h
|
340
|
+
- src/core/ext/filters/deadline/deadline_filter.c
|
341
|
+
- src/core/ext/filters/deadline/deadline_filter.h
|
342
|
+
- src/core/ext/filters/http/client/http_client_filter.c
|
343
|
+
- src/core/ext/filters/http/client/http_client_filter.h
|
344
|
+
- src/core/ext/filters/http/http_filters_plugin.c
|
345
|
+
- src/core/ext/filters/http/message_compress/message_compress_filter.c
|
346
|
+
- src/core/ext/filters/http/message_compress/message_compress_filter.h
|
347
|
+
- src/core/ext/filters/http/server/http_server_filter.c
|
348
|
+
- src/core/ext/filters/http/server/http_server_filter.h
|
336
349
|
- src/core/ext/filters/load_reporting/load_reporting.c
|
337
350
|
- src/core/ext/filters/load_reporting/load_reporting.h
|
338
351
|
- src/core/ext/filters/load_reporting/load_reporting_filter.c
|
339
352
|
- src/core/ext/filters/load_reporting/load_reporting_filter.h
|
340
353
|
- src/core/ext/filters/max_age/max_age_filter.c
|
341
354
|
- src/core/ext/filters/max_age/max_age_filter.h
|
355
|
+
- src/core/ext/filters/message_size/message_size_filter.c
|
356
|
+
- src/core/ext/filters/message_size/message_size_filter.h
|
342
357
|
- src/core/ext/transport/chttp2/alpn/alpn.c
|
343
358
|
- src/core/ext/transport/chttp2/alpn/alpn.h
|
344
359
|
- src/core/ext/transport/chttp2/client/chttp2_connector.c
|
@@ -397,25 +412,15 @@ files:
|
|
397
412
|
- src/core/lib/channel/channel_stack.h
|
398
413
|
- src/core/lib/channel/channel_stack_builder.c
|
399
414
|
- src/core/lib/channel/channel_stack_builder.h
|
400
|
-
- src/core/lib/channel/compress_filter.c
|
401
|
-
- src/core/lib/channel/compress_filter.h
|
402
415
|
- src/core/lib/channel/connected_channel.c
|
403
416
|
- src/core/lib/channel/connected_channel.h
|
404
417
|
- src/core/lib/channel/context.h
|
405
|
-
- src/core/lib/channel/deadline_filter.c
|
406
|
-
- src/core/lib/channel/deadline_filter.h
|
407
418
|
- src/core/lib/channel/handshaker.c
|
408
419
|
- src/core/lib/channel/handshaker.h
|
409
420
|
- src/core/lib/channel/handshaker_factory.c
|
410
421
|
- src/core/lib/channel/handshaker_factory.h
|
411
422
|
- src/core/lib/channel/handshaker_registry.c
|
412
423
|
- src/core/lib/channel/handshaker_registry.h
|
413
|
-
- src/core/lib/channel/http_client_filter.c
|
414
|
-
- src/core/lib/channel/http_client_filter.h
|
415
|
-
- src/core/lib/channel/http_server_filter.c
|
416
|
-
- src/core/lib/channel/http_server_filter.h
|
417
|
-
- src/core/lib/channel/message_size_filter.c
|
418
|
-
- src/core/lib/channel/message_size_filter.h
|
419
424
|
- src/core/lib/compression/algorithm_metadata.h
|
420
425
|
- src/core/lib/compression/compression.c
|
421
426
|
- src/core/lib/compression/message_compress.c
|
@@ -442,8 +447,16 @@ files:
|
|
442
447
|
- src/core/lib/iomgr/error.c
|
443
448
|
- src/core/lib/iomgr/error.h
|
444
449
|
- src/core/lib/iomgr/error_internal.h
|
445
|
-
- src/core/lib/iomgr/
|
446
|
-
- src/core/lib/iomgr/
|
450
|
+
- src/core/lib/iomgr/ev_epoll1_linux.c
|
451
|
+
- src/core/lib/iomgr/ev_epoll1_linux.h
|
452
|
+
- src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c
|
453
|
+
- src/core/lib/iomgr/ev_epoll_limited_pollers_linux.h
|
454
|
+
- src/core/lib/iomgr/ev_epoll_thread_pool_linux.c
|
455
|
+
- src/core/lib/iomgr/ev_epoll_thread_pool_linux.h
|
456
|
+
- src/core/lib/iomgr/ev_epollex_linux.c
|
457
|
+
- src/core/lib/iomgr/ev_epollex_linux.h
|
458
|
+
- src/core/lib/iomgr/ev_epollsig_linux.c
|
459
|
+
- src/core/lib/iomgr/ev_epollsig_linux.h
|
447
460
|
- src/core/lib/iomgr/ev_poll_posix.c
|
448
461
|
- src/core/lib/iomgr/ev_poll_posix.h
|
449
462
|
- src/core/lib/iomgr/ev_posix.c
|
@@ -461,6 +474,8 @@ files:
|
|
461
474
|
- src/core/lib/iomgr/iomgr_posix.h
|
462
475
|
- src/core/lib/iomgr/iomgr_uv.c
|
463
476
|
- src/core/lib/iomgr/iomgr_windows.c
|
477
|
+
- src/core/lib/iomgr/is_epollexclusive_available.c
|
478
|
+
- src/core/lib/iomgr/is_epollexclusive_available.h
|
464
479
|
- src/core/lib/iomgr/load_file.c
|
465
480
|
- src/core/lib/iomgr/load_file.h
|
466
481
|
- src/core/lib/iomgr/lockfree_event.c
|
@@ -503,6 +518,7 @@ files:
|
|
503
518
|
- src/core/lib/iomgr/socket_utils_windows.c
|
504
519
|
- src/core/lib/iomgr/socket_windows.c
|
505
520
|
- src/core/lib/iomgr/socket_windows.h
|
521
|
+
- src/core/lib/iomgr/sys_epoll_wrapper.h
|
506
522
|
- src/core/lib/iomgr/tcp_client.h
|
507
523
|
- src/core/lib/iomgr/tcp_client_posix.c
|
508
524
|
- src/core/lib/iomgr/tcp_client_posix.h
|
@@ -529,6 +545,8 @@ files:
|
|
529
545
|
- src/core/lib/iomgr/timer_generic.h
|
530
546
|
- src/core/lib/iomgr/timer_heap.c
|
531
547
|
- src/core/lib/iomgr/timer_heap.h
|
548
|
+
- src/core/lib/iomgr/timer_manager.c
|
549
|
+
- src/core/lib/iomgr/timer_manager.h
|
532
550
|
- src/core/lib/iomgr/timer_uv.c
|
533
551
|
- src/core/lib/iomgr/timer_uv.h
|
534
552
|
- src/core/lib/iomgr/udp_server.c
|
@@ -617,6 +635,9 @@ files:
|
|
617
635
|
- src/core/lib/support/arena.c
|
618
636
|
- src/core/lib/support/arena.h
|
619
637
|
- src/core/lib/support/atm.c
|
638
|
+
- src/core/lib/support/atomic.h
|
639
|
+
- src/core/lib/support/atomic_with_atm.h
|
640
|
+
- src/core/lib/support/atomic_with_std.h
|
620
641
|
- src/core/lib/support/avl.c
|
621
642
|
- src/core/lib/support/backoff.c
|
622
643
|
- src/core/lib/support/backoff.h
|
@@ -637,6 +658,7 @@ files:
|
|
637
658
|
- src/core/lib/support/log_linux.c
|
638
659
|
- src/core/lib/support/log_posix.c
|
639
660
|
- src/core/lib/support/log_windows.c
|
661
|
+
- src/core/lib/support/memory.h
|
640
662
|
- src/core/lib/support/mpscq.c
|
641
663
|
- src/core/lib/support/mpscq.h
|
642
664
|
- src/core/lib/support/murmur_hash.c
|
@@ -696,7 +718,7 @@ files:
|
|
696
718
|
- src/core/lib/surface/init.c
|
697
719
|
- src/core/lib/surface/init.h
|
698
720
|
- src/core/lib/surface/init_secure.c
|
699
|
-
- src/core/lib/surface/lame_client.
|
721
|
+
- src/core/lib/surface/lame_client.cc
|
700
722
|
- src/core/lib/surface/lame_client.h
|
701
723
|
- src/core/lib/surface/metadata_array.c
|
702
724
|
- src/core/lib/surface/server.c
|
@@ -739,6 +761,8 @@ files:
|
|
739
761
|
- src/core/tsi/ssl_types.h
|
740
762
|
- src/core/tsi/transport_security.c
|
741
763
|
- src/core/tsi/transport_security.h
|
764
|
+
- src/core/tsi/transport_security_adapter.c
|
765
|
+
- src/core/tsi/transport_security_adapter.h
|
742
766
|
- src/core/tsi/transport_security_interface.h
|
743
767
|
- src/ruby/bin/apis/google/protobuf/empty.rb
|
744
768
|
- src/ruby/bin/apis/pubsub_demo.rb
|
@@ -789,8 +813,6 @@ files:
|
|
789
813
|
- src/ruby/lib/grpc/generic/rpc_server.rb
|
790
814
|
- src/ruby/lib/grpc/generic/service.rb
|
791
815
|
- src/ruby/lib/grpc/grpc.rb
|
792
|
-
- src/ruby/lib/grpc/grpc_c.bundle
|
793
|
-
- src/ruby/lib/grpc/grpc_c.so
|
794
816
|
- src/ruby/lib/grpc/logconfig.rb
|
795
817
|
- src/ruby/lib/grpc/notifier.rb
|
796
818
|
- src/ruby/lib/grpc/version.rb
|
@@ -1367,7 +1389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1367
1389
|
version: 1.3.1
|
1368
1390
|
requirements: []
|
1369
1391
|
rubyforge_project:
|
1370
|
-
rubygems_version: 2.6.
|
1392
|
+
rubygems_version: 2.6.8
|
1371
1393
|
signing_key:
|
1372
1394
|
specification_version: 4
|
1373
1395
|
summary: GRPC system in Ruby
|
Binary file
|
data/src/ruby/lib/grpc/grpc_c.so
DELETED
Binary file
|