We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ee2f2 commit 2e089c1Copy full SHA for 2e089c1
test/openssl/test_ssl.rb
@@ -893,14 +893,12 @@ def test_accept_errors_include_peeraddr
893
end
894
895
896
- begin
897
- sock = TCPSocket.new("127.0.0.1", port)
898
- sock.puts "abc"
899
- ensure
900
- sock&.close
901
- end
+ sock = TCPSocket.new("127.0.0.1", port)
+ sock << "\x00" * 1024
902
903
assert t.join
+ ensure
+ sock&.close
904
server.close
905
906
0 commit comments