async-io 1.34.3 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/io/ssl_socket.rb +5 -4
- data/lib/async/io/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 495e2f2af45b75929c63402c89baa306fc4ca6069460d4a4cbb8dd508b246af2
|
4
|
+
data.tar.gz: ae9064e6b1ae9add38405fb99e2182ef801a42f9506389b80ddc403f4ac49f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c21ebeb778f2df413e9fbacfcf0b2211e9fafc2e69b401634a47492a10e9b26aa7685f57d4b170312cc78291d79e21365f73bf9e6258c46341c8d124ce33ad8
|
7
|
+
data.tar.gz: 63718c445bd187e9868498324c97f8179bd6ce187c4040a0da56c09a8ce6c8111d5d6a23f8e3476c5754bea48aeca2a7282f5f1b9274eb1b302d0ccf46ecaf6b
|
data/lib/async/io/ssl_socket.rb
CHANGED
@@ -89,11 +89,12 @@ module Async
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def close_write
|
92
|
-
|
92
|
+
# Invokes SSL_shutdown, which sends a close_notify message to the peer.
|
93
|
+
@io.__send__(:stop)
|
93
94
|
end
|
94
95
|
|
95
96
|
def close_read
|
96
|
-
|
97
|
+
@io.to_io.shutdown(Socket::SHUT_RD)
|
97
98
|
end
|
98
99
|
|
99
100
|
def shutdown(how)
|
@@ -119,7 +120,7 @@ module Async
|
|
119
120
|
self.class.new(@server.dup, @context)
|
120
121
|
end
|
121
122
|
|
122
|
-
def_delegators :@server, :local_address, :setsockopt, :getsockopt, :close, :close_on_exec=, :reactor=, :timeout, :timeout
|
123
|
+
def_delegators :@server, :local_address, :setsockopt, :getsockopt, :close, :close_on_exec=, :reactor=, :timeout, :timeout=, :to_io
|
123
124
|
|
124
125
|
attr :server
|
125
126
|
attr :context
|
@@ -135,7 +136,7 @@ module Async
|
|
135
136
|
|
136
137
|
return wrapper, address unless block_given?
|
137
138
|
|
138
|
-
task.async do
|
139
|
+
task.async do |task|
|
139
140
|
task.annotate "accepting secure connection #{address.inspect}"
|
140
141
|
|
141
142
|
begin
|
data/lib/async/io/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date: 2023-
|
19
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: async
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
|
-
rubygems_version: 3.4.
|
173
|
+
rubygems_version: 3.4.7
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: Provides support for asynchonous TCP, UDP, UNIX and SSL sockets.
|