grpc 1.74.0-x86_64-linux-gnu → 1.75.0.pre1-x86_64-linux-gnu

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: '090b22d8867d50c33aa7e7a813a1dc4db0a7b746b2528e8c150d382d247af57e'
4
- data.tar.gz: 0cdfdb73e4b289415dae4e5416148b5a82ac8bdaeb1724046ed10e42b0c85ae0
3
+ metadata.gz: 0e477b4c8bf4018bb40ca624b9d11c352627245d7edc45ae384fb15bb02d95d8
4
+ data.tar.gz: 071e62cf34f7bcfcce879c6915ecaefbdc0472c25883e4ba2456ea27747b02ef
5
5
  SHA512:
6
- metadata.gz: a6d66c343567a08a011dc47df21b8a56de8e70c5765990a17407f8e18c7bf303293e863d86048175b45e844a0aa6d3200fd5d6afaeea42395d17607122dcf091
7
- data.tar.gz: e8a589aeb23f41e17e97692231b0bf02ff34994b2c6482f5fcd9bbfe28377b1e7134cfeb51c11d570d10b97df0425f12b24d918d46d44be5a67da11197c6b4a0
6
+ metadata.gz: 6f398c3922b4e2f6db8acba310a98cd80494989aa9329b4f3416f1702540d44a29b43686976cc70069d3ac595f6adc3518c012d293a4bba36c516e5a208fbc30
7
+ data.tar.gz: '089616986c8ea8138b0bd881c2e787cca80b3f8adf995331c3b9961075320b342ecd1cbda6535a07493f951d26d75e8d6331040ba94dfe5ffee16a2cdb5b817b'
@@ -62,6 +62,7 @@ static VALUE grpc_rb_cChannelArgs;
62
62
  /* grpc_rb_channel wraps a grpc_channel. */
63
63
  typedef struct grpc_rb_channel {
64
64
  grpc_channel* channel;
65
+ VALUE mark;
65
66
  } grpc_rb_channel;
66
67
 
67
68
  static void grpc_rb_channel_free(void* p) {
@@ -76,13 +77,19 @@ static void grpc_rb_channel_free(void* p) {
76
77
  xfree(p);
77
78
  }
78
79
 
79
- static rb_data_type_t grpc_channel_data_type = {
80
- "grpc_channel",
81
- {NULL, grpc_rb_channel_free, GRPC_RB_MEMSIZE_UNAVAILABLE, {NULL, NULL}},
82
- NULL,
83
- NULL,
80
+ static void grpc_rb_channel_mark(void* p) {
81
+ rb_gc_mark(((grpc_rb_channel*)p)->mark);
82
+ }
83
+
84
+ static rb_data_type_t grpc_channel_data_type = {"grpc_channel",
85
+ {grpc_rb_channel_mark,
86
+ grpc_rb_channel_free,
87
+ GRPC_RB_MEMSIZE_UNAVAILABLE,
88
+ {NULL, NULL}},
89
+ NULL,
90
+ NULL,
84
91
  #ifdef RUBY_TYPED_FREE_IMMEDIATELY
85
- RUBY_TYPED_FREE_IMMEDIATELY
92
+ RUBY_TYPED_FREE_IMMEDIATELY
86
93
  #endif
87
94
  };
88
95
 
@@ -91,6 +98,7 @@ static VALUE grpc_rb_channel_alloc(VALUE cls) {
91
98
  grpc_ruby_init();
92
99
  grpc_rb_channel* wrapper = ALLOC(grpc_rb_channel);
93
100
  wrapper->channel = NULL;
101
+ wrapper->mark = Qnil;
94
102
  return TypedData_Wrap_Struct(cls, &grpc_channel_data_type, wrapper);
95
103
  }
96
104
 
@@ -139,6 +147,7 @@ static VALUE grpc_rb_channel_init(int argc, VALUE* argv, VALUE self) {
139
147
  return Qnil;
140
148
  }
141
149
  wrapper->channel = grpc_channel_create(target_chars, creds, &channel_args);
150
+ wrapper->mark = rb_credentials;
142
151
  }
143
152
  grpc_rb_channel_args_destroy(&channel_args);
144
153
  if (wrapper->channel == NULL) {
@@ -207,7 +207,7 @@ extern grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_impo
207
207
  typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_static_data_create_type)(const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs);
208
208
  extern grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import;
209
209
  #define grpc_tls_certificate_provider_static_data_create grpc_tls_certificate_provider_static_data_create_import
210
- typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_file_watcher_create_type)(const char* private_key_path, const char* identity_certificate_path, const char* root_cert_path, unsigned int refresh_interval_sec);
210
+ typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_file_watcher_create_type)(const char* private_key_path, const char* identity_certificate_path, const char* root_cert_path, const char* spiffe_bundle_map_path, unsigned int refresh_interval_sec);
211
211
  extern grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
212
212
  #define grpc_tls_certificate_provider_file_watcher_create grpc_tls_certificate_provider_file_watcher_create_import
213
213
  typedef void(*grpc_tls_certificate_provider_release_type)(grpc_tls_certificate_provider* provider);
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.74.0'
17
+ VERSION = '1.75.0.pre1'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.74.0
4
+ version: 1.75.0.pre1
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - gRPC Authors