grpc 1.19.0.pre1 → 1.19.0

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
  SHA256:
3
- metadata.gz: aba27bd0c4b49fd60bdd3736d8a68113f53b05c09d6e05131a78ab2adf8983d6
4
- data.tar.gz: eb774f16e3162defa61c4a3d7fc4f396e873510ebeb3b02f04a38dd046011aab
3
+ metadata.gz: e648e37fc2940346523c003fe92966ba9f72eea5ac5a609245e93d79a6cbb2b0
4
+ data.tar.gz: 9323e0a0ab26ea9102de793651045fa560f8809167177ca252da74e527152f0f
5
5
  SHA512:
6
- metadata.gz: 0270cfd397ab10154b840e44950d23484b06f46ba868c9f16e03c8ad958231a33aeb2e6227a86ddc4a778e161690d7bc2cb6bddc499b371a8e8716ded239ae2e
7
- data.tar.gz: 6987514d985968fb7dd6e3b62e85940ee943f94bb87bd3c37d7926bfb392b13252548b602d713e6bb39beff0aecf8fecd1944e098d220fb2d418b397c285fa93
6
+ metadata.gz: 51478976ff9f1bd85f49c89da1ece07c481ef826bdc01d7e29ce78c10abc0413f262c94208cf409c910ad4b19cecaf0377ff486dc6a7d10027cd34095bc01ce6
7
+ data.tar.gz: ba23108cff2bb768d324cae9e525b622b379bdc40f3917d80c75446c7a3d3072b0c5f45ba725fed537b0c19b7abdbc1a85fddaa6e7ebba369128e31403b6a47f
data/Makefile CHANGED
@@ -438,8 +438,8 @@ Q = @
438
438
  endif
439
439
 
440
440
  CORE_VERSION = 7.0.0
441
- CPP_VERSION = 1.19.0-pre1
442
- CSHARP_VERSION = 1.19.0-pre1
441
+ CPP_VERSION = 1.19.0
442
+ CSHARP_VERSION = 1.19.0
443
443
 
444
444
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
445
445
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -125,6 +125,10 @@
125
125
  #elif defined(ANDROID) || defined(__ANDROID__)
126
126
  #define GPR_PLATFORM_STRING "android"
127
127
  #define GPR_ANDROID 1
128
+ // TODO(apolcyn): re-evaluate support for c-ares
129
+ // on android after upgrading our c-ares dependency.
130
+ // See https://github.com/grpc/grpc/issues/18038.
131
+ #define GRPC_ARES 0
128
132
  #ifdef _LP64
129
133
  #define GPR_ARCH_64 1
130
134
  #else /* _LP64 */
@@ -120,13 +120,14 @@ class GrpcPolledFdWindows : public GrpcPolledFd {
120
120
  nullptr, &flags, (sockaddr*)recv_from_source_addr_,
121
121
  &recv_from_source_addr_len_,
122
122
  &winsocket_->read_info.overlapped, nullptr)) {
123
- char* msg = gpr_format_message(WSAGetLastError());
123
+ int wsa_last_error = WSAGetLastError();
124
+ char* msg = gpr_format_message(wsa_last_error);
124
125
  grpc_error* error = GRPC_ERROR_CREATE_FROM_COPIED_STRING(msg);
125
126
  GRPC_CARES_TRACE_LOG(
126
127
  "RegisterForOnReadableLocked: WSARecvFrom error:|%s|. fd:|%s|", msg,
127
128
  GetName());
128
129
  gpr_free(msg);
129
- if (WSAGetLastError() != WSA_IO_PENDING) {
130
+ if (wsa_last_error != WSA_IO_PENDING) {
130
131
  ScheduleAndNullReadClosure(error);
131
132
  return;
132
133
  }
@@ -229,12 +230,13 @@ class GrpcPolledFdWindows : public GrpcPolledFd {
229
230
  ares_ssize_t total_sent;
230
231
  DWORD bytes_sent = 0;
231
232
  if (SendWriteBuf(&bytes_sent, nullptr) != 0) {
232
- char* msg = gpr_format_message(WSAGetLastError());
233
+ int wsa_last_error = WSAGetLastError();
234
+ char* msg = gpr_format_message(wsa_last_error);
233
235
  GRPC_CARES_TRACE_LOG(
234
236
  "TrySendWriteBufSyncNonBlocking: SendWriteBuf error:|%s|. fd:|%s|",
235
237
  msg, GetName());
236
238
  gpr_free(msg);
237
- if (WSAGetLastError() == WSA_IO_PENDING) {
239
+ if (wsa_last_error == WSA_IO_PENDING) {
238
240
  WSASetLastError(WSAEWOULDBLOCK);
239
241
  write_state_ = WRITE_REQUESTED;
240
242
  }
@@ -284,9 +286,10 @@ class GrpcPolledFdWindows : public GrpcPolledFd {
284
286
  int out =
285
287
  WSAConnect(s, target, target_len, nullptr, nullptr, nullptr, nullptr);
286
288
  if (out != 0) {
287
- char* msg = gpr_format_message(WSAGetLastError());
289
+ int wsa_last_error = WSAGetLastError();
290
+ char* msg = gpr_format_message(wsa_last_error);
288
291
  GRPC_CARES_TRACE_LOG("Connect error code:|%d|, msg:|%s|. fd:|%s|",
289
- WSAGetLastError(), msg, GetName());
292
+ wsa_last_error, msg, GetName());
290
293
  gpr_free(msg);
291
294
  // c-ares expects a posix-style connect API
292
295
  out = -1;
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.19.0.pre1'
17
+ VERSION = '1.19.0'
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.19.0.pre1
4
+ version: 1.19.0
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: 2019-02-13 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -1589,47 +1589,47 @@ required_ruby_version: !ruby/object:Gem::Requirement
1589
1589
  version: 2.0.0
1590
1590
  required_rubygems_version: !ruby/object:Gem::Requirement
1591
1591
  requirements:
1592
- - - ">"
1592
+ - - ">="
1593
1593
  - !ruby/object:Gem::Version
1594
- version: 1.3.1
1594
+ version: '0'
1595
1595
  requirements: []
1596
1596
  rubygems_version: 3.0.2
1597
1597
  signing_key:
1598
1598
  specification_version: 4
1599
1599
  summary: GRPC system in Ruby
1600
1600
  test_files:
1601
- - src/ruby/spec/server_spec.rb
1602
- - src/ruby/spec/google_rpc_status_utils_spec.rb
1603
- - src/ruby/spec/testdata/server1.pem
1604
- - src/ruby/spec/testdata/server1.key
1601
+ - src/ruby/spec/support/services.rb
1602
+ - src/ruby/spec/support/helpers.rb
1603
+ - src/ruby/spec/client_auth_spec.rb
1604
+ - src/ruby/spec/time_consts_spec.rb
1605
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
1606
+ - src/ruby/spec/pb/health/checker_spec.rb
1607
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
1608
+ - src/ruby/spec/pb/codegen/package_option_spec.rb
1609
+ - src/ruby/spec/spec_helper.rb
1605
1610
  - src/ruby/spec/testdata/client.pem
1606
1611
  - src/ruby/spec/testdata/client.key
1612
+ - src/ruby/spec/testdata/server1.key
1607
1613
  - src/ruby/spec/testdata/README
1614
+ - src/ruby/spec/testdata/server1.pem
1608
1615
  - src/ruby/spec/testdata/ca.pem
1609
- - src/ruby/spec/compression_options_spec.rb
1610
- - src/ruby/spec/call_credentials_spec.rb
1611
- - src/ruby/spec/client_auth_spec.rb
1612
- - src/ruby/spec/call_spec.rb
1613
- - src/ruby/spec/channel_credentials_spec.rb
1614
- - src/ruby/spec/server_credentials_spec.rb
1615
- - src/ruby/spec/generic/rpc_desc_spec.rb
1616
- - src/ruby/spec/generic/service_spec.rb
1617
- - src/ruby/spec/generic/client_interceptors_spec.rb
1618
- - src/ruby/spec/generic/rpc_server_spec.rb
1619
- - src/ruby/spec/generic/server_interceptors_spec.rb
1616
+ - src/ruby/spec/client_server_spec.rb
1620
1617
  - src/ruby/spec/generic/interceptor_registry_spec.rb
1621
1618
  - src/ruby/spec/generic/client_stub_spec.rb
1622
1619
  - src/ruby/spec/generic/active_call_spec.rb
1620
+ - src/ruby/spec/generic/rpc_server_spec.rb
1621
+ - src/ruby/spec/generic/rpc_desc_spec.rb
1622
+ - src/ruby/spec/generic/service_spec.rb
1623
+ - src/ruby/spec/generic/server_interceptors_spec.rb
1623
1624
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
1624
- - src/ruby/spec/spec_helper.rb
1625
+ - src/ruby/spec/generic/client_interceptors_spec.rb
1626
+ - src/ruby/spec/call_spec.rb
1627
+ - src/ruby/spec/google_rpc_status_utils_spec.rb
1628
+ - src/ruby/spec/channel_credentials_spec.rb
1629
+ - src/ruby/spec/server_credentials_spec.rb
1630
+ - src/ruby/spec/call_credentials_spec.rb
1625
1631
  - src/ruby/spec/channel_connection_spec.rb
1632
+ - src/ruby/spec/compression_options_spec.rb
1633
+ - src/ruby/spec/server_spec.rb
1626
1634
  - src/ruby/spec/channel_spec.rb
1627
1635
  - src/ruby/spec/error_sanity_spec.rb
1628
- - src/ruby/spec/time_consts_spec.rb
1629
- - src/ruby/spec/client_server_spec.rb
1630
- - src/ruby/spec/support/services.rb
1631
- - src/ruby/spec/support/helpers.rb
1632
- - src/ruby/spec/pb/health/checker_spec.rb
1633
- - src/ruby/spec/pb/codegen/package_option_spec.rb
1634
- - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
1635
- - src/ruby/spec/pb/duplicate/codegen_spec.rb