grpc 1.6.6 → 1.6.7

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: 46a41c9e9bc4d861cd63a1eb9b61d73cdd3da8ea
4
- data.tar.gz: fd95ea8bf1b56edb6c5eef1528303ae7fb4c506e
3
+ metadata.gz: 3fd7e43f35051baef27057be3b69f35da63efc2c
4
+ data.tar.gz: dd4f25d453fe22250602bf39b1f86815e358378d
5
5
  SHA512:
6
- metadata.gz: 842679f541cd243e807dad6f9b0c03b0a6310d0bd715aeca815bf98999e228c6f221f09825f8fae9e9ac187d7f9ecada3a1ec98a19508894a6e7479a63b94e8f
7
- data.tar.gz: 537db0a007b2eef51bd9f67e49470cb8f19e7095da1daf2cf6f2c62a9f00c447743ad2ddd219ea749315aa6ed273b67e2d1a3cfaea657aa89465394d851b0f95
6
+ metadata.gz: 457688e225513f810c4fc150fde8e3cd0e53db55131dce8238beeec736c47550d3ef8394c828289218c2d79e07a7f291fc0398da6b8e4e9e9677a48c0402b8fe
7
+ data.tar.gz: 411289bd499d3b172f724749fc3149b3fb825b7ff728cf7626714f1ae4033963913b98e6c0e7f3c0d8d3d2f1d1f598736d244b96a9fa92e3a444664db506fd0c
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.6
415
- CSHARP_VERSION = 1.6.6
414
+ CPP_VERSION = 1.6.7
415
+ CSHARP_VERSION = 1.6.7
416
416
 
417
417
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
418
418
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -482,8 +482,9 @@ grpc_chttp2_flowctl_action grpc_chttp2_flowctl_get_bdp_action(
482
482
  double bw_dbl = -1;
483
483
  if (grpc_bdp_estimator_get_bw(&tfc->bdp_estimator, &bw_dbl)) {
484
484
  // we target the max of BDP or bandwidth in microseconds.
485
- int32_t frame_size =
486
- GPR_CLAMP(GPR_MAX((int32_t)bw_dbl / 1000, bdp), 16384, 16777215);
485
+ int32_t frame_size = (int32_t)GPR_CLAMP(
486
+ GPR_MAX((int32_t)GPR_CLAMP(bw_dbl, 0, INT_MAX) / 1000, bdp), 16384,
487
+ 16777215);
487
488
  grpc_chttp2_flowctl_urgency frame_size_urgency = delta_is_significant(
488
489
  tfc, frame_size, GRPC_CHTTP2_SETTINGS_MAX_FRAME_SIZE);
489
490
  if (frame_size_urgency != GRPC_CHTTP2_FLOWCTL_NO_ACTION_NEEDED) {
@@ -221,6 +221,7 @@ static VALUE grpc_rb_call_close(VALUE self) {
221
221
  TypedData_Get_Struct(self, grpc_rb_call, &grpc_call_data_type, call);
222
222
  if (call != NULL) {
223
223
  destroy_call(call);
224
+ xfree(RTYPEDDATA_DATA(self));
224
225
  RTYPEDDATA_DATA(self) = NULL;
225
226
  }
226
227
  return Qnil;
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.6.6'
17
+ VERSION = '1.6.7'
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.6
4
+ version: 1.6.7
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-05 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -1431,7 +1431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1431
1431
  version: '0'
1432
1432
  requirements: []
1433
1433
  rubyforge_project:
1434
- rubygems_version: 2.6.13
1434
+ rubygems_version: 2.6.14
1435
1435
  signing_key:
1436
1436
  specification_version: 4
1437
1437
  summary: GRPC system in Ruby