[ruby-cvs:74115] eregon:r67011 (trunk): Make sure to wait with IO.select before using Socket#accept_nonblock and recvfrom_nonblock

eregon at ruby-lang.org eregon at ruby-lang.org
Tue Feb 5 19:19:29 JST 2019


eregon	2019-02-05 19:19:29 +0900 (Tue, 05 Feb 2019)

  New Revision: 67011

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67011

  Log:
    Make sure to wait with IO.select before using Socket#accept_nonblock and recvfrom_nonblock
    
    * On all platforms, as this is the recommended code pattern.

  Modified files:
    trunk/spec/ruby/library/socket/socket/accept_nonblock_spec.rb
    trunk/spec/ruby/library/socket/udpsocket/recvfrom_nonblock_spec.rb


More information about the ruby-cvs mailing list