grpc 1.6.4 → 1.6.6
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 +2 -2
- data/include/grpc/impl/codegen/port_platform.h +0 -1
- data/src/core/lib/iomgr/tcp_client_uv.c +1 -1
- data/src/ruby/ext/grpc/rb_call.c +4 -0
- data/src/ruby/ext/grpc/rb_grpc.c +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a41c9e9bc4d861cd63a1eb9b61d73cdd3da8ea
|
4
|
+
data.tar.gz: fd95ea8bf1b56edb6c5eef1528303ae7fb4c506e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 842679f541cd243e807dad6f9b0c03b0a6310d0bd715aeca815bf98999e228c6f221f09825f8fae9e9ac187d7f9ecada3a1ec98a19508894a6e7479a63b94e8f
|
7
|
+
data.tar.gz: 537db0a007b2eef51bd9f67e49470cb8f19e7095da1daf2cf6f2c62a9f00c447743ad2ddd219ea749315aa6ed273b67e2d1a3cfaea657aa89465394d851b0f95
|
data/Makefile
CHANGED
@@ -411,8 +411,8 @@ Q = @
|
|
411
411
|
endif
|
412
412
|
|
413
413
|
CORE_VERSION = 4.0.0
|
414
|
-
CPP_VERSION = 1.6.
|
415
|
-
CSHARP_VERSION = 1.6.
|
414
|
+
CPP_VERSION = 1.6.6
|
415
|
+
CSHARP_VERSION = 1.6.6
|
416
416
|
|
417
417
|
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
|
418
418
|
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
|
@@ -145,7 +145,7 @@ static void tcp_client_connect_impl(grpc_exec_ctx *exec_ctx,
|
|
145
145
|
connect->resource_quota = resource_quota;
|
146
146
|
uv_tcp_init(uv_default_loop(), connect->tcp_handle);
|
147
147
|
connect->connect_req.data = connect;
|
148
|
-
connect->refs =
|
148
|
+
connect->refs = 2; // One for the connect operation, one for the timer.
|
149
149
|
|
150
150
|
if (GRPC_TRACER_ON(grpc_tcp_trace)) {
|
151
151
|
gpr_log(GPR_DEBUG, "CLIENT_CONNECT: %s: asynchronously connecting",
|
data/src/ruby/ext/grpc/rb_call.c
CHANGED
@@ -101,6 +101,7 @@ static void grpc_rb_call_destroy(void *p) {
|
|
101
101
|
return;
|
102
102
|
}
|
103
103
|
destroy_call((grpc_rb_call *)p);
|
104
|
+
xfree(p);
|
104
105
|
}
|
105
106
|
|
106
107
|
static size_t md_ary_datasize(const void *p) {
|
@@ -905,6 +906,9 @@ static void Init_grpc_error_codes() {
|
|
905
906
|
rb_define_const(grpc_rb_mRpcErrors, "INVALID_FLAGS",
|
906
907
|
UINT2NUM(GRPC_CALL_ERROR_INVALID_FLAGS));
|
907
908
|
|
909
|
+
/* Hint the GC that this is a global and shouldn't be sweeped. */
|
910
|
+
rb_global_variable(&rb_error_code_details);
|
911
|
+
|
908
912
|
/* Add the detail strings to a Hash */
|
909
913
|
rb_error_code_details = rb_hash_new();
|
910
914
|
rb_hash_aset(rb_error_code_details, UINT2NUM(GRPC_CALL_OK),
|
data/src/ruby/ext/grpc/rb_grpc.c
CHANGED
@@ -315,8 +315,8 @@ void Init_grpc_c() {
|
|
315
315
|
return;
|
316
316
|
}
|
317
317
|
|
318
|
-
bg_thread_init_rb_mu = rb_mutex_new();
|
319
318
|
rb_global_variable(&bg_thread_init_rb_mu);
|
319
|
+
bg_thread_init_rb_mu = rb_mutex_new();
|
320
320
|
|
321
321
|
grpc_rb_mGRPC = rb_define_module("GRPC");
|
322
322
|
grpc_rb_mGrpcCore = rb_define_module_under(grpc_rb_mGRPC, "Core");
|
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.6.
|
4
|
+
version: 1.6.6
|
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-10-
|
11
|
+
date: 2017-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|