spec/async/io/ssl_server_spec.rb in async-io-1.22.0 vs spec/async/io/ssl_server_spec.rb in async-io-1.23.0
- old
+ new
@@ -50,10 +50,11 @@
end
reactor.async do
client_endpoint.connect do |client|
client.write(data)
+ client.close_write
expect(client.read(512)).to be == data
end
server_task.stop
@@ -89,9 +90,10 @@
end
reactor.async do
valid_client_endpoint.connect do |client|
client.write(data)
+ client.close_write
expect(client.read(512)).to be == data
end
server_task.stop