grpc 1.72.0-x86-mingw32 → 1.74.0.pre2-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f530541338382e31fc2cb2be12625e4a0cc3077662ac8b4c0f070b20ae4fa43c
4
- data.tar.gz: 1bbc0359c940e564e4b196abd46fb8ae5b9922da0264eec17943e695d98e5367
3
+ metadata.gz: e4ad97eb1656a9b7c064853b84ccf19f3744d809d09e2877dec7ab863d49a28b
4
+ data.tar.gz: 9d4bdc96e9061c35020824ea9a7ed56c0aa3e88d7e8d11f9da3607446771bdbc
5
5
  SHA512:
6
- metadata.gz: e5478d7bf586643f416ac2b95315490cf6e8bec2db705d0ab479933c2b7998049785d8af61bfbd7c098c926bfaf4eeffbf700bb37413800cf7cd7e5f52f00a6d
7
- data.tar.gz: 2d530eaef394bcf001689575e9728c6414ea3beb4e125f663d79a7080ec133399a8130f45b9eaabccf84b9c1c7674e1763967cbce4005aaf87d97636df56f26d
6
+ metadata.gz: 9b11b71e422079f1ba6d2e0d2302510dee943d4ef51e890660468b67bfa756a74d0a69ea69d15bceaab44bdf38fa5a44fbef5105ce265c94b81463ca72802b3f
7
+ data.tar.gz: b725f9dfebd0aba5c0b8dcd6f74c1bc18468892e0a2e0509565bd85d4f2d48f3b79aab461de49a384bebcc3c29d8bdb1650f9cc3f60588e3396c822001512806
Binary file
@@ -114,6 +114,8 @@ env_append 'CPPFLAGS', '-DGRPC_XDS_USER_AGENT_NAME_SUFFIX="\"RUBY\""'
114
114
  require_relative '../../lib/grpc/version'
115
115
  env_append 'CPPFLAGS', '-DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"' + GRPC::VERSION + '\""'
116
116
  env_append 'CPPFLAGS', '-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1'
117
+ env_append 'CPPFLAGS', '-DGRPC_ENABLE_FORK_SUPPORT=1'
118
+ env_append 'CPPFLAGS', '-DGRPC_ENABLE_FORK_SUPPORT_DEFAULT=false'
117
119
 
118
120
  output_dir = File.expand_path(RbConfig::CONFIG['topdir'])
119
121
  grpc_lib_dir = File.join(output_dir, 'libs', grpc_config)
@@ -231,7 +233,7 @@ File.rename('Makefile.new', 'Makefile')
231
233
 
232
234
  if grpc_config == 'opt'
233
235
  File.open('Makefile.new', 'w') do |o|
234
- o.puts 'hijack: all strip'
236
+ o.puts 'hijack: all strip remove_unused_artifacts'
235
237
  o.puts
236
238
  o.write(File.read('Makefile'))
237
239
  o.puts
@@ -808,12 +808,6 @@ struct call_run_batch_args {
808
808
  run_batch_stack* st;
809
809
  };
810
810
 
811
- static void cancel_call_unblock_func(void* arg) {
812
- grpc_absl_log(GPR_DEBUG, "GRPC_RUBY: cancel_call_unblock_func");
813
- grpc_call* call = (grpc_call*)arg;
814
- grpc_call_cancel(call, NULL);
815
- }
816
-
817
811
  static VALUE grpc_rb_call_run_batch_try(VALUE value_args) {
818
812
  grpc_rb_fork_unsafe_begin();
819
813
  struct call_run_batch_args* args = (struct call_run_batch_args*)value_args;
@@ -836,8 +830,7 @@ static VALUE grpc_rb_call_run_batch_try(VALUE value_args) {
836
830
  grpc_call_error_detail_of(err), err);
837
831
  }
838
832
  ev = rb_completion_queue_pluck(args->call->queue, tag,
839
- gpr_inf_future(GPR_CLOCK_REALTIME),
840
- cancel_call_unblock_func, args->call->wrapped);
833
+ gpr_inf_future(GPR_CLOCK_REALTIME), "call op");
841
834
  if (!ev.success) {
842
835
  rb_raise(grpc_rb_eCallError, "call#run_batch failed somehow");
843
836
  }