grpc 1.42.0-x86-mingw32 → 1.45.0-x86-mingw32

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: d8d3ce7fb3dd0b542789038a10f45184acf8cdfd7525a6c65c96fd8e4b401bf4
4
- data.tar.gz: 990016d4802145c140d3df93b0fdcf4893dbda58b3f3c9e9121aaab27040bc48
3
+ metadata.gz: 2a1da9f66af6cba84f9ae845d82f30c7b3568d370650603a1a3286d78d54f8d6
4
+ data.tar.gz: ef06cd82b523aee3b58618c1c81467151e4203af252900bc592b0f118084caa3
5
5
  SHA512:
6
- metadata.gz: 03da6eca9bfcbf8909cf1b8a9cf1c94ebacd82da4b0415f13a73e5bbe0a986c792e66535f9a46cb471640fcc0c3c36e403527b5d2383bfa0e6bdeef442f14ec6
7
- data.tar.gz: 89ebfdcc23bd137793bd8f49f62cc5b276457afe0785376cf5d42a628a69777e62d1d72551cd02e7bab286f806e320cf5b66ae36a85a48bdad137a9c3118b451
6
+ metadata.gz: 588c2642abb7dd1cca3473232e08bfe9355cd3e006a54a304a421a785a864e675cad3b21dcfa81e85856611db026347c9eddcff7ccdfce91c418692b9bce90c8
7
+ data.tar.gz: 749a63a9655609d0c4e79d131fce43a0c276d8f3bfd9a95413e8a4159c21ea03b1d49d4e0b1c17a50e12f197b487e047ed55aca193b88fe0b46853a633357a78
data/grpc_c.32.ruby CHANGED
Binary file
data/grpc_c.64.ruby CHANGED
Binary file
@@ -60,7 +60,7 @@ end
60
60
 
61
61
  ENV['CPPFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE'
62
62
  ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_NAME_SUFFIX="\"RUBY\"" '
63
- ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"1.42.0\"" '
63
+ ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"1.45.0\"" '
64
64
 
65
65
  output_dir = File.expand_path(RbConfig::CONFIG['topdir'])
66
66
  grpc_lib_dir = File.join(output_dir, 'libs', grpc_config)
@@ -69,9 +69,16 @@ ENV['BUILDDIR'] = output_dir
69
69
  unless windows
70
70
  puts 'Building internal gRPC into ' + grpc_lib_dir
71
71
  nproc = 4
72
- nproc = Etc.nprocessors * 2 if Etc.respond_to? :nprocessors
72
+ nproc = Etc.nprocessors if Etc.respond_to? :nprocessors
73
+ nproc_override = ENV['GRPC_RUBY_BUILD_PROCS']
74
+ unless nproc_override.nil? or nproc_override.size == 0
75
+ nproc = nproc_override
76
+ puts "Overriding make parallelism to #{nproc}"
77
+ end
73
78
  make = bsd ? 'gmake' : 'make'
74
- system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=")
79
+ cmd = "#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q="
80
+ puts "Building grpc native library: #{cmd}"
81
+ system(cmd)
75
82
  exit 1 unless $? == 0
76
83
  end
77
84
 
@@ -242,7 +242,10 @@ static VALUE grpc_rb_channel_init(int argc, VALUE* argv, VALUE self) {
242
242
  "bad creds symbol, want :this_channel_is_insecure");
243
243
  return Qnil;
244
244
  }
245
- ch = grpc_insecure_channel_create(target_chars, &args, NULL);
245
+ grpc_channel_credentials* insecure_creds =
246
+ grpc_insecure_credentials_create();
247
+ ch = grpc_channel_create(target_chars, insecure_creds, &args);
248
+ grpc_channel_credentials_release(insecure_creds);
246
249
  } else {
247
250
  wrapper->credentials = credentials;
248
251
  if (grpc_rb_is_channel_credentials(credentials)) {
@@ -254,7 +257,7 @@ static VALUE grpc_rb_channel_init(int argc, VALUE* argv, VALUE self) {
254
257
  "bad creds, want ChannelCredentials or XdsChannelCredentials");
255
258
  return Qnil;
256
259
  }
257
- ch = grpc_secure_channel_create(creds, target_chars, &args, NULL);
260
+ ch = grpc_channel_create(target_chars, creds, &args);
258
261
  }
259
262
 
260
263
  GPR_ASSERT(ch);
@@ -68,7 +68,9 @@ grpc_census_call_get_context_type grpc_census_call_get_context_import;
68
68
  grpc_channel_get_target_type grpc_channel_get_target_import;
69
69
  grpc_channel_get_info_type grpc_channel_get_info_import;
70
70
  grpc_channel_reset_connect_backoff_type grpc_channel_reset_connect_backoff_import;
71
- grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
71
+ grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
72
+ grpc_server_credentials_release_type grpc_server_credentials_release_import;
73
+ grpc_channel_create_type grpc_channel_create_import;
72
74
  grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
73
75
  grpc_channel_destroy_type grpc_channel_destroy_import;
74
76
  grpc_call_cancel_type grpc_call_cancel_import;
@@ -84,7 +86,7 @@ grpc_server_register_completion_queue_type grpc_server_register_completion_queue
84
86
  grpc_server_config_fetcher_xds_create_type grpc_server_config_fetcher_xds_create_import;
85
87
  grpc_server_config_fetcher_destroy_type grpc_server_config_fetcher_destroy_import;
86
88
  grpc_server_set_config_fetcher_type grpc_server_set_config_fetcher_import;
87
- grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
89
+ grpc_server_add_http2_port_type grpc_server_add_http2_port_import;
88
90
  grpc_server_start_type grpc_server_start_import;
89
91
  grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import;
90
92
  grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import;
@@ -109,8 +111,8 @@ grpc_channelz_get_channel_type grpc_channelz_get_channel_import;
109
111
  grpc_channelz_get_subchannel_type grpc_channelz_get_subchannel_import;
110
112
  grpc_channelz_get_socket_type grpc_channelz_get_socket_import;
111
113
  grpc_authorization_policy_provider_arg_vtable_type grpc_authorization_policy_provider_arg_vtable_import;
112
- grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
113
- grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
114
+ grpc_channel_create_from_fd_type grpc_channel_create_from_fd_import;
115
+ grpc_server_add_channel_from_fd_type grpc_server_add_channel_from_fd_import;
114
116
  grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
115
117
  grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import;
116
118
  grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import;
@@ -126,7 +128,6 @@ grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
126
128
  grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
127
129
  grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
128
130
  grpc_call_credentials_release_type grpc_call_credentials_release_import;
129
- grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
130
131
  grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
131
132
  grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
132
133
  grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
@@ -144,8 +145,6 @@ grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
144
145
  grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
145
146
  grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
146
147
  grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
147
- grpc_secure_channel_create_type grpc_secure_channel_create_import;
148
- grpc_server_credentials_release_type grpc_server_credentials_release_import;
149
148
  grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
150
149
  grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
151
150
  grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
@@ -154,7 +153,6 @@ grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_cre
154
153
  grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
155
154
  grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
156
155
  grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
157
- grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
158
156
  grpc_call_set_credentials_type grpc_call_set_credentials_import;
159
157
  grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
160
158
  grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
@@ -172,21 +170,23 @@ grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provi
172
170
  grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
173
171
  grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
174
172
  grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
175
- grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
176
- grpc_tls_credentials_options_set_server_verification_option_type grpc_tls_credentials_options_set_server_verification_option_import;
177
173
  grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
178
174
  grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
179
175
  grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
180
176
  grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
181
177
  grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
182
- grpc_tls_credentials_options_set_server_authorization_check_config_type grpc_tls_credentials_options_set_server_authorization_check_config_import;
183
- grpc_tls_server_authorization_check_config_create_type grpc_tls_server_authorization_check_config_create_import;
184
- grpc_tls_server_authorization_check_config_release_type grpc_tls_server_authorization_check_config_release_import;
178
+ grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
179
+ grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
180
+ grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
181
+ grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
182
+ grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
183
+ grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
185
184
  grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
186
185
  grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
187
186
  grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
188
187
  grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
189
188
  grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
189
+ grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
190
190
  grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
191
191
  grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
192
192
  grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
@@ -213,7 +213,6 @@ grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
213
213
  grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
214
214
  grpc_slice_malloc_type grpc_slice_malloc_import;
215
215
  grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
216
- grpc_slice_intern_type grpc_slice_intern_import;
217
216
  grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
218
217
  grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
219
218
  grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
@@ -224,8 +223,6 @@ grpc_slice_split_tail_type grpc_slice_split_tail_import;
224
223
  grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
225
224
  grpc_slice_split_head_type grpc_slice_split_head_import;
226
225
  grpc_empty_slice_type grpc_empty_slice_import;
227
- grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
228
- grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
229
226
  grpc_slice_eq_type grpc_slice_eq_import;
230
227
  grpc_slice_cmp_type grpc_slice_cmp_import;
231
228
  grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
@@ -233,7 +230,6 @@ grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
233
230
  grpc_slice_rchr_type grpc_slice_rchr_import;
234
231
  grpc_slice_chr_type grpc_slice_chr_import;
235
232
  grpc_slice_slice_type grpc_slice_slice_import;
236
- grpc_slice_hash_type grpc_slice_hash_import;
237
233
  grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
238
234
  grpc_slice_dup_type grpc_slice_dup_import;
239
235
  grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
@@ -358,7 +354,9 @@ void grpc_rb_load_imports(HMODULE library) {
358
354
  grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target");
359
355
  grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info");
360
356
  grpc_channel_reset_connect_backoff_import = (grpc_channel_reset_connect_backoff_type) GetProcAddress(library, "grpc_channel_reset_connect_backoff");
361
- grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create");
357
+ grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
358
+ grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
359
+ grpc_channel_create_import = (grpc_channel_create_type) GetProcAddress(library, "grpc_channel_create");
362
360
  grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create");
363
361
  grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
364
362
  grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
@@ -374,7 +372,7 @@ void grpc_rb_load_imports(HMODULE library) {
374
372
  grpc_server_config_fetcher_xds_create_import = (grpc_server_config_fetcher_xds_create_type) GetProcAddress(library, "grpc_server_config_fetcher_xds_create");
375
373
  grpc_server_config_fetcher_destroy_import = (grpc_server_config_fetcher_destroy_type) GetProcAddress(library, "grpc_server_config_fetcher_destroy");
376
374
  grpc_server_set_config_fetcher_import = (grpc_server_set_config_fetcher_type) GetProcAddress(library, "grpc_server_set_config_fetcher");
377
- grpc_server_add_insecure_http2_port_import = (grpc_server_add_insecure_http2_port_type) GetProcAddress(library, "grpc_server_add_insecure_http2_port");
375
+ grpc_server_add_http2_port_import = (grpc_server_add_http2_port_type) GetProcAddress(library, "grpc_server_add_http2_port");
378
376
  grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start");
379
377
  grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify");
380
378
  grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls");
@@ -399,8 +397,8 @@ void grpc_rb_load_imports(HMODULE library) {
399
397
  grpc_channelz_get_subchannel_import = (grpc_channelz_get_subchannel_type) GetProcAddress(library, "grpc_channelz_get_subchannel");
400
398
  grpc_channelz_get_socket_import = (grpc_channelz_get_socket_type) GetProcAddress(library, "grpc_channelz_get_socket");
401
399
  grpc_authorization_policy_provider_arg_vtable_import = (grpc_authorization_policy_provider_arg_vtable_type) GetProcAddress(library, "grpc_authorization_policy_provider_arg_vtable");
402
- grpc_insecure_channel_create_from_fd_import = (grpc_insecure_channel_create_from_fd_type) GetProcAddress(library, "grpc_insecure_channel_create_from_fd");
403
- grpc_server_add_insecure_channel_from_fd_import = (grpc_server_add_insecure_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_insecure_channel_from_fd");
400
+ grpc_channel_create_from_fd_import = (grpc_channel_create_from_fd_type) GetProcAddress(library, "grpc_channel_create_from_fd");
401
+ grpc_server_add_channel_from_fd_import = (grpc_server_add_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_channel_from_fd");
404
402
  grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next");
405
403
  grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator");
406
404
  grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity");
@@ -416,7 +414,6 @@ void grpc_rb_load_imports(HMODULE library) {
416
414
  grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy");
417
415
  grpc_ssl_session_cache_create_channel_arg_import = (grpc_ssl_session_cache_create_channel_arg_type) GetProcAddress(library, "grpc_ssl_session_cache_create_channel_arg");
418
416
  grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release");
419
- grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
420
417
  grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
421
418
  grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
422
419
  grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
@@ -434,8 +431,6 @@ void grpc_rb_load_imports(HMODULE library) {
434
431
  grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
435
432
  grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
436
433
  grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
437
- grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create");
438
- grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
439
434
  grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
440
435
  grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
441
436
  grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
@@ -444,7 +439,6 @@ void grpc_rb_load_imports(HMODULE library) {
444
439
  grpc_ssl_server_credentials_create_options_using_config_fetcher_import = (grpc_ssl_server_credentials_create_options_using_config_fetcher_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config_fetcher");
445
440
  grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
446
441
  grpc_ssl_server_credentials_create_with_options_import = (grpc_ssl_server_credentials_create_with_options_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_with_options");
447
- grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port");
448
442
  grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
449
443
  grpc_server_credentials_set_auth_metadata_processor_import = (grpc_server_credentials_set_auth_metadata_processor_type) GetProcAddress(library, "grpc_server_credentials_set_auth_metadata_processor");
450
444
  grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create");
@@ -462,21 +456,23 @@ void grpc_rb_load_imports(HMODULE library) {
462
456
  grpc_tls_certificate_provider_file_watcher_create_import = (grpc_tls_certificate_provider_file_watcher_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_file_watcher_create");
463
457
  grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
464
458
  grpc_tls_credentials_options_create_import = (grpc_tls_credentials_options_create_type) GetProcAddress(library, "grpc_tls_credentials_options_create");
465
- grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
466
- grpc_tls_credentials_options_set_server_verification_option_import = (grpc_tls_credentials_options_set_server_verification_option_type) GetProcAddress(library, "grpc_tls_credentials_options_set_server_verification_option");
467
459
  grpc_tls_credentials_options_set_certificate_provider_import = (grpc_tls_credentials_options_set_certificate_provider_type) GetProcAddress(library, "grpc_tls_credentials_options_set_certificate_provider");
468
460
  grpc_tls_credentials_options_watch_root_certs_import = (grpc_tls_credentials_options_watch_root_certs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_root_certs");
469
461
  grpc_tls_credentials_options_set_root_cert_name_import = (grpc_tls_credentials_options_set_root_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_root_cert_name");
470
462
  grpc_tls_credentials_options_watch_identity_key_cert_pairs_import = (grpc_tls_credentials_options_watch_identity_key_cert_pairs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_identity_key_cert_pairs");
471
463
  grpc_tls_credentials_options_set_identity_cert_name_import = (grpc_tls_credentials_options_set_identity_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_identity_cert_name");
472
- grpc_tls_credentials_options_set_server_authorization_check_config_import = (grpc_tls_credentials_options_set_server_authorization_check_config_type) GetProcAddress(library, "grpc_tls_credentials_options_set_server_authorization_check_config");
473
- grpc_tls_server_authorization_check_config_create_import = (grpc_tls_server_authorization_check_config_create_type) GetProcAddress(library, "grpc_tls_server_authorization_check_config_create");
474
- grpc_tls_server_authorization_check_config_release_import = (grpc_tls_server_authorization_check_config_release_type) GetProcAddress(library, "grpc_tls_server_authorization_check_config_release");
464
+ grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
465
+ grpc_tls_credentials_options_set_crl_directory_import = (grpc_tls_credentials_options_set_crl_directory_type) GetProcAddress(library, "grpc_tls_credentials_options_set_crl_directory");
466
+ grpc_tls_credentials_options_set_verify_server_cert_import = (grpc_tls_credentials_options_set_verify_server_cert_type) GetProcAddress(library, "grpc_tls_credentials_options_set_verify_server_cert");
467
+ grpc_tls_credentials_options_set_check_call_host_import = (grpc_tls_credentials_options_set_check_call_host_type) GetProcAddress(library, "grpc_tls_credentials_options_set_check_call_host");
468
+ grpc_insecure_credentials_create_import = (grpc_insecure_credentials_create_type) GetProcAddress(library, "grpc_insecure_credentials_create");
469
+ grpc_insecure_server_credentials_create_import = (grpc_insecure_server_credentials_create_type) GetProcAddress(library, "grpc_insecure_server_credentials_create");
475
470
  grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
476
471
  grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
477
472
  grpc_authorization_policy_provider_static_data_create_import = (grpc_authorization_policy_provider_static_data_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_static_data_create");
478
473
  grpc_authorization_policy_provider_file_watcher_create_import = (grpc_authorization_policy_provider_file_watcher_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_file_watcher_create");
479
474
  grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
475
+ grpc_tls_credentials_options_set_tls_session_key_log_file_path_import = (grpc_tls_credentials_options_set_tls_session_key_log_file_path_type) GetProcAddress(library, "grpc_tls_credentials_options_set_tls_session_key_log_file_path");
480
476
  grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
481
477
  grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
482
478
  grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
@@ -503,7 +499,6 @@ void grpc_rb_load_imports(HMODULE library) {
503
499
  grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len");
504
500
  grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc");
505
501
  grpc_slice_malloc_large_import = (grpc_slice_malloc_large_type) GetProcAddress(library, "grpc_slice_malloc_large");
506
- grpc_slice_intern_import = (grpc_slice_intern_type) GetProcAddress(library, "grpc_slice_intern");
507
502
  grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string");
508
503
  grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer");
509
504
  grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string");
@@ -514,8 +509,6 @@ void grpc_rb_load_imports(HMODULE library) {
514
509
  grpc_slice_split_tail_maybe_ref_import = (grpc_slice_split_tail_maybe_ref_type) GetProcAddress(library, "grpc_slice_split_tail_maybe_ref");
515
510
  grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head");
516
511
  grpc_empty_slice_import = (grpc_empty_slice_type) GetProcAddress(library, "grpc_empty_slice");
517
- grpc_slice_default_hash_impl_import = (grpc_slice_default_hash_impl_type) GetProcAddress(library, "grpc_slice_default_hash_impl");
518
- grpc_slice_default_eq_impl_import = (grpc_slice_default_eq_impl_type) GetProcAddress(library, "grpc_slice_default_eq_impl");
519
512
  grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
520
513
  grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
521
514
  grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
@@ -523,7 +516,6 @@ void grpc_rb_load_imports(HMODULE library) {
523
516
  grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
524
517
  grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");
525
518
  grpc_slice_slice_import = (grpc_slice_slice_type) GetProcAddress(library, "grpc_slice_slice");
526
- grpc_slice_hash_import = (grpc_slice_hash_type) GetProcAddress(library, "grpc_slice_hash");
527
519
  grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent");
528
520
  grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup");
529
521
  grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string");
@@ -179,9 +179,15 @@ extern grpc_channel_get_info_type grpc_channel_get_info_import;
179
179
  typedef void(*grpc_channel_reset_connect_backoff_type)(grpc_channel* channel);
180
180
  extern grpc_channel_reset_connect_backoff_type grpc_channel_reset_connect_backoff_import;
181
181
  #define grpc_channel_reset_connect_backoff grpc_channel_reset_connect_backoff_import
182
- typedef grpc_channel*(*grpc_insecure_channel_create_type)(const char* target, const grpc_channel_args* args, void* reserved);
183
- extern grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
184
- #define grpc_insecure_channel_create grpc_insecure_channel_create_import
182
+ typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds);
183
+ extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
184
+ #define grpc_channel_credentials_release grpc_channel_credentials_release_import
185
+ typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds);
186
+ extern grpc_server_credentials_release_type grpc_server_credentials_release_import;
187
+ #define grpc_server_credentials_release grpc_server_credentials_release_import
188
+ typedef grpc_channel*(*grpc_channel_create_type)(const char* target, grpc_channel_credentials* creds, const grpc_channel_args* args);
189
+ extern grpc_channel_create_type grpc_channel_create_import;
190
+ #define grpc_channel_create grpc_channel_create_import
185
191
  typedef grpc_channel*(*grpc_lame_client_channel_create_type)(const char* target, grpc_status_code error_code, const char* error_message);
186
192
  extern grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
187
193
  #define grpc_lame_client_channel_create grpc_lame_client_channel_create_import
@@ -227,9 +233,9 @@ extern grpc_server_config_fetcher_destroy_type grpc_server_config_fetcher_destro
227
233
  typedef void(*grpc_server_set_config_fetcher_type)(grpc_server* server, grpc_server_config_fetcher* config_fetcher);
228
234
  extern grpc_server_set_config_fetcher_type grpc_server_set_config_fetcher_import;
229
235
  #define grpc_server_set_config_fetcher grpc_server_set_config_fetcher_import
230
- typedef int(*grpc_server_add_insecure_http2_port_type)(grpc_server* server, const char* addr);
231
- extern grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
232
- #define grpc_server_add_insecure_http2_port grpc_server_add_insecure_http2_port_import
236
+ typedef int(*grpc_server_add_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds);
237
+ extern grpc_server_add_http2_port_type grpc_server_add_http2_port_import;
238
+ #define grpc_server_add_http2_port grpc_server_add_http2_port_import
233
239
  typedef void(*grpc_server_start_type)(grpc_server* server);
234
240
  extern grpc_server_start_type grpc_server_start_import;
235
241
  #define grpc_server_start grpc_server_start_import
@@ -302,12 +308,12 @@ extern grpc_channelz_get_socket_type grpc_channelz_get_socket_import;
302
308
  typedef const grpc_arg_pointer_vtable*(*grpc_authorization_policy_provider_arg_vtable_type)(void);
303
309
  extern grpc_authorization_policy_provider_arg_vtable_type grpc_authorization_policy_provider_arg_vtable_import;
304
310
  #define grpc_authorization_policy_provider_arg_vtable grpc_authorization_policy_provider_arg_vtable_import
305
- typedef grpc_channel*(*grpc_insecure_channel_create_from_fd_type)(const char* target, int fd, const grpc_channel_args* args);
306
- extern grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
307
- #define grpc_insecure_channel_create_from_fd grpc_insecure_channel_create_from_fd_import
308
- typedef void(*grpc_server_add_insecure_channel_from_fd_type)(grpc_server* server, void* reserved, int fd);
309
- extern grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
310
- #define grpc_server_add_insecure_channel_from_fd grpc_server_add_insecure_channel_from_fd_import
311
+ typedef grpc_channel*(*grpc_channel_create_from_fd_type)(const char* target, int fd, grpc_channel_credentials* creds, const grpc_channel_args* args);
312
+ extern grpc_channel_create_from_fd_type grpc_channel_create_from_fd_import;
313
+ #define grpc_channel_create_from_fd grpc_channel_create_from_fd_import
314
+ typedef void(*grpc_server_add_channel_from_fd_type)(grpc_server* server, int fd, grpc_server_credentials* creds);
315
+ extern grpc_server_add_channel_from_fd_type grpc_server_add_channel_from_fd_import;
316
+ #define grpc_server_add_channel_from_fd grpc_server_add_channel_from_fd_import
311
317
  typedef const grpc_auth_property*(*grpc_auth_property_iterator_next_type)(grpc_auth_property_iterator* it);
312
318
  extern grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
313
319
  #define grpc_auth_property_iterator_next grpc_auth_property_iterator_next_import
@@ -353,9 +359,6 @@ extern grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_cre
353
359
  typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds);
354
360
  extern grpc_call_credentials_release_type grpc_call_credentials_release_import;
355
361
  #define grpc_call_credentials_release grpc_call_credentials_release_import
356
- typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds);
357
- extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
358
- #define grpc_channel_credentials_release grpc_channel_credentials_release_import
359
362
  typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(grpc_call_credentials* call_credentials);
360
363
  extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
361
364
  #define grpc_google_default_credentials_create grpc_google_default_credentials_create_import
@@ -407,12 +410,6 @@ extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_im
407
410
  typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved);
408
411
  extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
409
412
  #define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import
410
- typedef grpc_channel*(*grpc_secure_channel_create_type)(grpc_channel_credentials* creds, const char* target, const grpc_channel_args* args, void* reserved);
411
- extern grpc_secure_channel_create_type grpc_secure_channel_create_import;
412
- #define grpc_secure_channel_create grpc_secure_channel_create_import
413
- typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds);
414
- extern grpc_server_credentials_release_type grpc_server_credentials_release_import;
415
- #define grpc_server_credentials_release grpc_server_credentials_release_import
416
413
  typedef grpc_ssl_server_certificate_config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs);
417
414
  extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
418
415
  #define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import
@@ -437,9 +434,6 @@ extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credenti
437
434
  typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options);
438
435
  extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
439
436
  #define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import
440
- typedef int(*grpc_server_add_secure_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds);
441
- extern grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
442
- #define grpc_server_add_secure_http2_port grpc_server_add_secure_http2_port_import
443
437
  typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds);
444
438
  extern grpc_call_set_credentials_type grpc_call_set_credentials_import;
445
439
  #define grpc_call_set_credentials grpc_call_set_credentials_import
@@ -491,12 +485,6 @@ extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_
491
485
  typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void);
492
486
  extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
493
487
  #define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import
494
- typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
495
- extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
496
- #define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
497
- typedef void(*grpc_tls_credentials_options_set_server_verification_option_type)(grpc_tls_credentials_options* options, grpc_tls_server_verification_option server_verification_option);
498
- extern grpc_tls_credentials_options_set_server_verification_option_type grpc_tls_credentials_options_set_server_verification_option_import;
499
- #define grpc_tls_credentials_options_set_server_verification_option grpc_tls_credentials_options_set_server_verification_option_import
500
488
  typedef void(*grpc_tls_credentials_options_set_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider);
501
489
  extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
502
490
  #define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import
@@ -512,15 +500,24 @@ extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_
512
500
  typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name);
513
501
  extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
514
502
  #define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import
515
- typedef void(*grpc_tls_credentials_options_set_server_authorization_check_config_type)(grpc_tls_credentials_options* options, grpc_tls_server_authorization_check_config* config);
516
- extern grpc_tls_credentials_options_set_server_authorization_check_config_type grpc_tls_credentials_options_set_server_authorization_check_config_import;
517
- #define grpc_tls_credentials_options_set_server_authorization_check_config grpc_tls_credentials_options_set_server_authorization_check_config_import
518
- typedef grpc_tls_server_authorization_check_config*(*grpc_tls_server_authorization_check_config_create_type)(const void* config_user_data, int (*schedule)(void* config_user_data, grpc_tls_server_authorization_check_arg* arg), void (*cancel)(void* config_user_data, grpc_tls_server_authorization_check_arg* arg), void (*destruct)(void* config_user_data));
519
- extern grpc_tls_server_authorization_check_config_create_type grpc_tls_server_authorization_check_config_create_import;
520
- #define grpc_tls_server_authorization_check_config_create grpc_tls_server_authorization_check_config_create_import
521
- typedef void(*grpc_tls_server_authorization_check_config_release_type)(grpc_tls_server_authorization_check_config* config);
522
- extern grpc_tls_server_authorization_check_config_release_type grpc_tls_server_authorization_check_config_release_import;
523
- #define grpc_tls_server_authorization_check_config_release grpc_tls_server_authorization_check_config_release_import
503
+ typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
504
+ extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
505
+ #define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
506
+ typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory);
507
+ extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
508
+ #define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import
509
+ typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert);
510
+ extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
511
+ #define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import
512
+ typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host);
513
+ extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
514
+ #define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import
515
+ typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)();
516
+ extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
517
+ #define grpc_insecure_credentials_create grpc_insecure_credentials_create_import
518
+ typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)();
519
+ extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
520
+ #define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import
524
521
  typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials);
525
522
  extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
526
523
  #define grpc_xds_credentials_create grpc_xds_credentials_create_import
@@ -536,6 +533,9 @@ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authoriz
536
533
  typedef void(*grpc_authorization_policy_provider_release_type)(grpc_authorization_policy_provider* provider);
537
534
  extern grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
538
535
  #define grpc_authorization_policy_provider_release grpc_authorization_policy_provider_release_import
536
+ typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path);
537
+ extern grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
538
+ #define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import
539
539
  typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices);
540
540
  extern grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
541
541
  #define grpc_raw_byte_buffer_create grpc_raw_byte_buffer_create_import
@@ -614,9 +614,6 @@ extern grpc_slice_malloc_type grpc_slice_malloc_import;
614
614
  typedef grpc_slice(*grpc_slice_malloc_large_type)(size_t length);
615
615
  extern grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
616
616
  #define grpc_slice_malloc_large grpc_slice_malloc_large_import
617
- typedef grpc_slice(*grpc_slice_intern_type)(grpc_slice slice);
618
- extern grpc_slice_intern_type grpc_slice_intern_import;
619
- #define grpc_slice_intern grpc_slice_intern_import
620
617
  typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char* source);
621
618
  extern grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
622
619
  #define grpc_slice_from_copied_string grpc_slice_from_copied_string_import
@@ -647,12 +644,6 @@ extern grpc_slice_split_head_type grpc_slice_split_head_import;
647
644
  typedef grpc_slice(*grpc_empty_slice_type)(void);
648
645
  extern grpc_empty_slice_type grpc_empty_slice_import;
649
646
  #define grpc_empty_slice grpc_empty_slice_import
650
- typedef uint32_t(*grpc_slice_default_hash_impl_type)(grpc_slice s);
651
- extern grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
652
- #define grpc_slice_default_hash_impl grpc_slice_default_hash_impl_import
653
- typedef int(*grpc_slice_default_eq_impl_type)(grpc_slice a, grpc_slice b);
654
- extern grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
655
- #define grpc_slice_default_eq_impl grpc_slice_default_eq_impl_import
656
647
  typedef int(*grpc_slice_eq_type)(grpc_slice a, grpc_slice b);
657
648
  extern grpc_slice_eq_type grpc_slice_eq_import;
658
649
  #define grpc_slice_eq grpc_slice_eq_import
@@ -674,9 +665,6 @@ extern grpc_slice_chr_type grpc_slice_chr_import;
674
665
  typedef int(*grpc_slice_slice_type)(grpc_slice haystack, grpc_slice needle);
675
666
  extern grpc_slice_slice_type grpc_slice_slice_import;
676
667
  #define grpc_slice_slice grpc_slice_slice_import
677
- typedef uint32_t(*grpc_slice_hash_type)(grpc_slice s);
678
- extern grpc_slice_hash_type grpc_slice_hash_import;
679
- #define grpc_slice_hash grpc_slice_hash_import
680
668
  typedef int(*grpc_slice_is_equivalent_type)(grpc_slice a, grpc_slice b);
681
669
  extern grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
682
670
  #define grpc_slice_is_equivalent grpc_slice_is_equivalent_import
@@ -320,8 +320,11 @@ static VALUE grpc_rb_server_add_http2_port(VALUE self, VALUE port,
320
320
  rb_raise(rb_eTypeError, "bad creds symbol, want :this_port_is_insecure");
321
321
  return Qnil;
322
322
  }
323
- recvd_port =
324
- grpc_server_add_insecure_http2_port(s->wrapped, StringValueCStr(port));
323
+ grpc_server_credentials* insecure_creds =
324
+ grpc_insecure_server_credentials_create();
325
+ recvd_port = grpc_server_add_http2_port(s->wrapped, StringValueCStr(port),
326
+ insecure_creds);
327
+ grpc_server_credentials_release(insecure_creds);
325
328
  if (recvd_port == 0) {
326
329
  rb_raise(rb_eRuntimeError,
327
330
  "could not add port %s to server, not sure why",
@@ -340,8 +343,8 @@ static VALUE grpc_rb_server_add_http2_port(VALUE self, VALUE port,
340
343
  "failed to create server because credentials parameter has an "
341
344
  "invalid type, want ServerCredentials or XdsServerCredentials");
342
345
  }
343
- recvd_port = grpc_server_add_secure_http2_port(
344
- s->wrapped, StringValueCStr(port), creds);
346
+ recvd_port =
347
+ grpc_server_add_http2_port(s->wrapped, StringValueCStr(port), creds);
345
348
  if (recvd_port == 0) {
346
349
  rb_raise(rb_eRuntimeError,
347
350
  "could not add secure port %s to server, not sure why",
Binary file
Binary file
Binary file
Binary file
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.42.0'
17
+ VERSION = '1.45.0'
18
18
  end
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: src/proto/grpc/testing/test.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'src/proto/grpc/testing/empty_pb'
5
7
  require 'src/proto/grpc/testing/messages_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("src/proto/grpc/testing/test.proto", :syntax => :proto3) do
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.42.0
4
+ version: 1.45.0
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.18'
19
+ version: '3.19'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.18'
26
+ version: '3.19'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: googleapis-common-protos-types
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -112,16 +112,16 @@ dependencies:
112
112
  name: rake-compiler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - "<="
116
116
  - !ruby/object:Gem::Version
117
- version: '1.1'
117
+ version: 1.1.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - "<="
123
123
  - !ruby/object:Gem::Version
124
- version: '1.1'
124
+ version: 1.1.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake-compiler-dock
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +250,6 @@ files:
250
250
  - src/ruby/ext/grpc/rb_xds_server_credentials.c
251
251
  - src/ruby/ext/grpc/rb_xds_server_credentials.h
252
252
  - src/ruby/lib/grpc.rb
253
- - src/ruby/lib/grpc/2.4/grpc_c.so
254
253
  - src/ruby/lib/grpc/2.5/grpc_c.so
255
254
  - src/ruby/lib/grpc/2.6/grpc_c.so
256
255
  - src/ruby/lib/grpc/2.7/grpc_c.so
@@ -344,7 +343,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
344
343
  requirements:
345
344
  - - ">="
346
345
  - !ruby/object:Gem::Version
347
- version: '2.4'
346
+ version: '2.5'
348
347
  - - "<"
349
348
  - !ruby/object:Gem::Version
350
349
  version: 3.1.dev
@@ -354,51 +353,51 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
353
  - !ruby/object:Gem::Version
355
354
  version: '0'
356
355
  requirements: []
357
- rubygems_version: 3.2.31
356
+ rubygems_version: 3.3.9
358
357
  signing_key:
359
358
  specification_version: 4
360
359
  summary: GRPC system in Ruby
361
360
  test_files:
362
- - src/ruby/spec/support/helpers.rb
363
- - src/ruby/spec/support/services.rb
364
- - src/ruby/spec/compression_options_spec.rb
365
- - src/ruby/spec/spec_helper.rb
366
- - src/ruby/spec/errors_spec.rb
367
- - src/ruby/spec/server_credentials_spec.rb
368
361
  - src/ruby/spec/channel_spec.rb
369
- - src/ruby/spec/call_spec.rb
370
- - src/ruby/spec/google_rpc_status_utils_spec.rb
371
- - src/ruby/spec/pb/duplicate/codegen_spec.rb
372
- - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
373
- - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
374
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
375
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
376
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
377
- - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
378
- - src/ruby/spec/pb/codegen/package_option_spec.rb
379
- - src/ruby/spec/pb/health/checker_spec.rb
380
- - src/ruby/spec/generic/client_stub_spec.rb
381
- - src/ruby/spec/generic/rpc_desc_spec.rb
382
- - src/ruby/spec/generic/rpc_server_spec.rb
383
- - src/ruby/spec/generic/client_interceptors_spec.rb
384
- - src/ruby/spec/generic/rpc_server_pool_spec.rb
385
- - src/ruby/spec/generic/active_call_spec.rb
386
- - src/ruby/spec/generic/interceptor_registry_spec.rb
362
+ - src/ruby/spec/time_consts_spec.rb
363
+ - src/ruby/spec/debug_message_spec.rb
387
364
  - src/ruby/spec/generic/service_spec.rb
365
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
366
+ - src/ruby/spec/generic/active_call_spec.rb
367
+ - src/ruby/spec/generic/client_interceptors_spec.rb
368
+ - src/ruby/spec/generic/rpc_desc_spec.rb
388
369
  - src/ruby/spec/generic/server_interceptors_spec.rb
370
+ - src/ruby/spec/generic/rpc_server_pool_spec.rb
371
+ - src/ruby/spec/generic/client_stub_spec.rb
372
+ - src/ruby/spec/generic/rpc_server_spec.rb
373
+ - src/ruby/spec/server_spec.rb
374
+ - src/ruby/spec/spec_helper.rb
389
375
  - src/ruby/spec/client_server_spec.rb
376
+ - src/ruby/spec/error_sanity_spec.rb
390
377
  - src/ruby/spec/testdata/ca.pem
391
- - src/ruby/spec/testdata/server1.pem
392
- - src/ruby/spec/testdata/client.key
393
- - src/ruby/spec/testdata/client.pem
394
378
  - src/ruby/spec/testdata/server1.key
379
+ - src/ruby/spec/testdata/client.pem
395
380
  - src/ruby/spec/testdata/README
396
- - src/ruby/spec/time_consts_spec.rb
397
- - src/ruby/spec/server_spec.rb
398
- - src/ruby/spec/error_sanity_spec.rb
381
+ - src/ruby/spec/testdata/server1.pem
382
+ - src/ruby/spec/testdata/client.key
399
383
  - src/ruby/spec/channel_credentials_spec.rb
400
- - src/ruby/spec/client_auth_spec.rb
384
+ - src/ruby/spec/google_rpc_status_utils_spec.rb
385
+ - src/ruby/spec/compression_options_spec.rb
386
+ - src/ruby/spec/errors_spec.rb
401
387
  - src/ruby/spec/call_credentials_spec.rb
388
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
389
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
390
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
391
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
392
+ - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
393
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
394
+ - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
395
+ - src/ruby/spec/pb/codegen/package_option_spec.rb
396
+ - src/ruby/spec/pb/health/checker_spec.rb
402
397
  - src/ruby/spec/user_agent_spec.rb
403
- - src/ruby/spec/debug_message_spec.rb
398
+ - src/ruby/spec/client_auth_spec.rb
399
+ - src/ruby/spec/support/helpers.rb
400
+ - src/ruby/spec/support/services.rb
404
401
  - src/ruby/spec/channel_connection_spec.rb
402
+ - src/ruby/spec/server_credentials_spec.rb
403
+ - src/ruby/spec/call_spec.rb
Binary file