1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/socket
normal b88296be43 connect_nonblock(..., exception: false) does not raise EISCONN
* ext/socket/socket.c (sock_connect_nonblock): do not raise EISCONN
  [ruby-core:68926] [Feature #11072]
* test/socket/test_nonblock.rb: check non-EISCONN on 2nd connect

This is to reduce exceptions for code which issues a
(IMHO, unnecessary) second connect() syscall.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20 02:11:10 +00:00
..
test_addrinfo.rb test_addrinfo.rb: relax memory usage criterion 2015-04-10 01:02:55 +00:00
test_ancdata.rb
test_basicsocket.rb * io.c (rb_io_close_m): Don't raise when the IO object is closed. 2015-01-15 15:26:03 +00:00
test_nonblock.rb connect_nonblock(..., exception: false) does not raise EISCONN 2015-04-20 02:11:10 +00:00
test_socket.rb * ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket 2014-05-28 15:42:09 +00:00
test_sockopt.rb * ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and 2014-01-20 19:32:03 +00:00
test_tcp.rb accept_nonblock supports "exception: false" 2015-03-12 03:03:04 +00:00
test_udp.rb * test/socket/test_udp.rb: Close sockets explicitly. 2013-06-26 03:09:54 +00:00
test_unix.rb accept_nonblock supports "exception: false" 2015-03-12 03:03:04 +00:00