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 +4 -4
- data/Makefile +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.c +3 -2
- data/src/ruby/ext/grpc/rb_call.c +1 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fd7e43f35051baef27057be3b69f35da63efc2c
|
4
|
+
data.tar.gz: dd4f25d453fe22250602bf39b1f86815e358378d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
415
|
-
CSHARP_VERSION = 1.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
|
-
|
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) {
|
data/src/ruby/ext/grpc/rb_call.c
CHANGED
@@ -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;
|
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.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-
|
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.
|
1434
|
+
rubygems_version: 2.6.14
|
1435
1435
|
signing_key:
|
1436
1436
|
specification_version: 4
|
1437
1437
|
summary: GRPC system in Ruby
|