splitclient-rb 8.10.0.pre.rc1-java → 8.10.0.pre.rc3-java

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: 41a9eb981eedd8411383990ed81c62b417500607a7bb7a6837ab3f942ed818b6
4
- data.tar.gz: 36b3f64cf73a6d7e75217d1383a2b03280f060b26eaebdef00329a21cbd6bcb1
3
+ metadata.gz: 8d15a1fad88c4772864c6102ef70935db2885ecc3747127e01a6ed37d8674000
4
+ data.tar.gz: 8ab0b8815aafdd7de62f92637bf3cdcce3522a6c2a0e58af1f2d040e129cdbb9
5
5
  SHA512:
6
- metadata.gz: 99b1c75caddc34771ba23c732b858024348f16d8bdab18f0ca33450d2776a6c3bdf905d11b5d91c8beaa96beef31553edc95871764ef728aecf76f9f9a1a4d6b
7
- data.tar.gz: eb054a12c4b4f8c73d95ffc9fa1769794a6d685671eb9b215f9f20601dfabfd4b99580c3aee12f7763975509e285272c2046abb067581416a37d027b1db9e1ec
6
+ metadata.gz: 610e6eb0a927b3790065708f71806167a38a7a96c6c2f49ed82f829ae49f8847ae45bada71a82dea54669a4e4a730fa54d3066b7f1198d75d5cc1a68c338cc01
7
+ data.tar.gz: dfbeb11571faa46b5af83a10090d1dd1ec7f31bd1e4aaeff4685c64ac43ecfaa709571cd7fa42e41f7fc900b5e5fb557c2cd4874f2af08997a22477e9bb8ff7e
@@ -97,16 +97,18 @@ module SplitIoClient
97
97
  rescue Timeout::Error => e
98
98
  log_if_debug("SSE read operation timed out!: #{e.inspect}", 3)
99
99
  return Constants::PUSH_RETRYABLE_ERROR
100
- rescue EOFError
100
+ rescue EOFError => e
101
+ log_if_debug("SSE read operation EOF Exception!: #{e.inspect}", 3)
101
102
  raise 'eof exception'
102
103
  rescue Errno::EAGAIN => e
103
104
  log_if_debug("SSE client transient error: #{e.inspect}", 1)
104
105
  IO.select([tcp_socket])
105
106
  retry
106
107
  rescue Errno::EBADF, IOError => e
107
- log_if_debug(e.inspect, 3)
108
+ log_if_debug("SSE read operation EBADF or IOError: #{e.inspect}", 3)
108
109
  return nil
109
110
  rescue StandardError => e
111
+ log_if_debug("SSE read operation StandardError: #{e.inspect}", 3)
110
112
  return nil if ENV['SPLITCLIENT_ENV'] == 'test'
111
113
 
112
114
  log_if_debug("Error reading partial data: #{e.inspect}", 3)
@@ -115,6 +117,8 @@ module SplitIoClient
115
117
 
116
118
  process_data(partial_data)
117
119
  end
120
+ log_if_debug("SSE read operation exited: #{connected}")
121
+
118
122
  nil
119
123
  end
120
124
 
@@ -156,11 +160,21 @@ module SplitIoClient
156
160
  ssl_context = OpenSSL::SSL::SSLContext.new
157
161
  ssl_socket = OpenSSL::SSL::SSLSocket.new(tcp_socket, ssl_context)
158
162
  ssl_socket.hostname = @uri.host
159
- ssl_socket.connect
160
- return ssl_socket.connect
163
+
164
+ begin
165
+ ssl_socket.connect_nonblock
166
+ rescue IO::WaitReadable
167
+ IO.select([ssl_socket])
168
+ retry
169
+ rescue IO::WaitWritable
170
+ IO.select(nil, [ssl_socket])
171
+ retry
172
+ end
173
+
174
+ return ssl_socket
175
+ # return ssl_socket.connect
161
176
  rescue Exception => e
162
177
  @config.logger.error("socket connect error: #{e.inspect}")
163
- puts e.inspect
164
178
  return nil
165
179
  end
166
180
  end
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '8.10.0-rc1'
2
+ VERSION = '8.10.0-rc3'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.10.0.pre.rc1
4
+ version: 8.10.0.pre.rc3
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-10-10 00:00:00.000000000 Z
10
+ date: 2025-11-06 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: allocation_stats