async-io 1.43.1 → 1.43.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/io/ssl_socket.rb +6 -2
- data/lib/async/io/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63fad81fc33f05f6cffc286731b2ca97c856ad2b3679046270ee9b5370566973
|
4
|
+
data.tar.gz: 5696bbab2014b6ed160b784502e4928986ba7189f78c8653ab1f3b7c7a7d2f5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e94e119920c19ebbc054f1aa3e0cce1de8f5702591f8d84334ec28f92ba564b4ffe762a2fc966300f085c7077d015bfa48e5738075bc78ab36145a11e5fb39
|
7
|
+
data.tar.gz: c025094d9a34299cca00f256df4b304b376a7aeb54a36e187463530cea21b7108b6e628c53c2e5706c9674474eae904dd694f747b05732666f30c3694886e570
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/async/io/ssl_socket.rb
CHANGED
@@ -118,8 +118,12 @@ module Async
|
|
118
118
|
@server.listen(*args)
|
119
119
|
end
|
120
120
|
|
121
|
-
def accept(task: Task.current,
|
122
|
-
peer, address = @server.accept
|
121
|
+
def accept(task: Task.current, timeout: nil)
|
122
|
+
peer, address = @server.accept
|
123
|
+
|
124
|
+
if timeout and peer.respond_to?(:timeout=)
|
125
|
+
peer.timeout = timeout
|
126
|
+
end
|
123
127
|
|
124
128
|
wrapper = SSLSocket.new(peer, @context)
|
125
129
|
|
data/lib/async/io/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|