uninterruptible 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72a22a5770c97eab497ced8af3b4ef1eb1969954
4
- data.tar.gz: 697a74b90a5f7f1e9fa0e4bd0c099e4565de8c4d
3
+ metadata.gz: da483ac5cd1a38088938f5958340b313dfde952d
4
+ data.tar.gz: 1da163a7b7055f10c6bcf0814c92654dfb0b8780
5
5
  SHA512:
6
- metadata.gz: 35f6725ea1ed919a3ea884840bbd9462d26c451d1efa380a3c7b707427dae2be667b1eb2ffd006915b27371bcbfa897e04e2971b029fce0d72f7f7f32288ecc0
7
- data.tar.gz: 2a0e883d4ebad0dab294743349d01d851f69e00d279746bdb6e4a35444893706b1ceb66223174685834ea14a380f8f7e436015c85a1415845760c3e1f099f2cc
6
+ metadata.gz: 39942f15c0fff227a8f2f818e294467a1c7f4237a334550ba9b9aff802125460e1edd29272aa1fae5849d46a2e6907ca6ee1fde8d29a71de4f829d67eddebbfe
7
+ data.tar.gz: f8a57b4b7e10250a19ac07cdce75a8f276fe539cd7d0a191fbf9971760f00f9d63f3c9d14ae133f00bd2a565ecebfe23af57daf49f44c0ce9d02be96d53f8655
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.5.1
4
+ * Fix bug where new restart code didn't work with TLS servers
5
+ * Add echo server tests for UNIX and TLS servers
6
+
3
7
  ## 2.5.0
4
8
  * Rewrite restart code to avoid potentially nasty hangs.
5
9
 
@@ -26,7 +26,7 @@ module Uninterruptible
26
26
  raise "File descriptor server has been closed" if socket_server.closed?
27
27
 
28
28
  client = socket_server.accept
29
- client.send_io(io_object)
29
+ client.send_io(io_object.to_io)
30
30
  client.close
31
31
  end
32
32
 
@@ -113,6 +113,8 @@ module Uninterruptible
113
113
  Thread.start(socket_server.accept_nonblock) do |client_socket|
114
114
  process_request(client_socket)
115
115
  end
116
+ rescue OpenSSL::SSL::SSLError => e
117
+ logger.warn e.message
116
118
  end
117
119
 
118
120
  # Keeps a track of the number of active connections and passes the client connection to #handle_request for the
@@ -22,6 +22,7 @@ module OpenSSL
22
22
  ssl
23
23
  rescue SSLError
24
24
  sock.close
25
+ raise
25
26
  end
26
27
  end
27
28
  end
@@ -1,3 +1,3 @@
1
1
  module Uninterruptible
2
- VERSION = "2.5.0".freeze
2
+ VERSION = "2.5.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uninterruptible
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Wentworth
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-23 00:00:00.000000000 Z
11
+ date: 2019-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler