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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddc3cb53a7c493a1fb14171eeff8f781784dbf2b
4
- data.tar.gz: 1917220d2418c5422155994d3317af6fad5bbdf0
3
+ metadata.gz: 46a41c9e9bc4d861cd63a1eb9b61d73cdd3da8ea
4
+ data.tar.gz: fd95ea8bf1b56edb6c5eef1528303ae7fb4c506e
5
5
  SHA512:
6
- metadata.gz: 55962341420e640fb72c564fa2e12630d0daea90dedfbac00a5ab09e2b2e89e109d3cddf6fd241c2dfa05a2783ce4a3a2daeaa2cf1aa67e9b5a21cda5aac01c5
7
- data.tar.gz: 49efddfa4747aeca28cdab4912657b5fba5bc6892e3b653da2e98343d352d4fd805949b76297c0786d5bf42539f0c8823dba198db8ba4ca25de7615e2be1d166
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.4
415
- CSHARP_VERSION = 1.6.4
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)
@@ -183,7 +183,6 @@
183
183
  #define _BSD_SOURCE
184
184
  #endif
185
185
  #if TARGET_OS_IPHONE
186
- #define GPR_FORBID_UNREACHABLE_CODE 1
187
186
  #define GPR_PLATFORM_STRING "ios"
188
187
  #define GPR_CPU_IPHONE 1
189
188
  #define GPR_PTHREAD_TLS 1
@@ -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 = 1;
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",
@@ -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),
@@ -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");
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.6.4'
17
+ VERSION = '1.6.6'
18
18
  end
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
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-03 00:00:00.000000000 Z
11
+ date: 2017-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf