uninterruptible 2.5.3 → 2.5.4

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: dc6895a8d950201b505824cb01a5b5822e760993
4
- data.tar.gz: 16dcbfd142547b5aaa2fcb2e743eb574fbeb0f92
3
+ metadata.gz: 2c8e04d9cefeee57154e1d743eec0d70917cd82d
4
+ data.tar.gz: 6972c935bcaddba37a7698b7c33603a531191247
5
5
  SHA512:
6
- metadata.gz: b4b6ef5ac65cc75a40a8fbc589b986c52f61a9fc340cd347a855dc2754e35659e02ca01a43db42eee7de63d21fac6dabb9653ef543fcc7502f3e274b0cb81439
7
- data.tar.gz: 74f5a5afac38b36906987fc19d55a966354cde588d85a341af6d9e3454606c3691981953b43f567dc968107d70ebeb93939eb1fad94236a442eb732ab4c264df
6
+ metadata.gz: e1acc119f8cc86cd928729d5a59dd4e3a8d71a74154d92b3be47bb1c9b77f7666927a746dece346fad92b344d90fb71ab88114d0d985db60aebe2e7e077ca21c
7
+ data.tar.gz: 8a4eaaa911356e6a6fccd8edff462a54299068074c78cc837ae3086f1259022267bdb59030a0f99410f1e530e7fd8fbd1c83f7437fa6e0953e03914f3535e12d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.5.4
4
+ * Ensure the underlying TCPSocket is closed with an SSLSocket
5
+
3
6
  ## 2.5.3
4
7
  * Accept new connections with #accept instead of #accept_nonblock
5
8
  * Remove SSLExtensions module as this is no longer required
@@ -111,6 +111,8 @@ module Uninterruptible
111
111
  # concurrency model.
112
112
  def accept_client_connection
113
113
  Thread.start(socket_server.accept) do |client_socket|
114
+ client_socket.sync_close = true if client_socket.respond_to?(:sync_close)
115
+
114
116
  process_request(client_socket)
115
117
  end
116
118
  rescue OpenSSL::SSL::SSLError => e
@@ -1,3 +1,3 @@
1
1
  module Uninterruptible
2
- VERSION = "2.5.3".freeze
2
+ VERSION = "2.5.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uninterruptible
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Wentworth