[ruby-cvs:70394] nobu:r63304 (trunk): io.c: workaround for EPROTOTYPE

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 30 11:17:03 JST 2018


nobu	2018-04-30 11:17:03 +0900 (Mon, 30 Apr 2018)

  New Revision: 63304

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

  Log:
    io.c: workaround for EPROTOTYPE
    
    * io.c (internal_write_func, internal_writev_func): retry at
      unexpected EPROTOTYPE on macOS, to get rid of a kernel bug.
      [ruby-core:86690] [Bug #14713]
    
    * ext/socket/init.c (rsock_{sendto,send,write}_blocking): ditto.

  Modified files:
    trunk/ext/socket/init.c
    trunk/io.c
    trunk/test/net/ftp/test_ftp.rb
    trunk/test/webrick/test_httpserver.rb


More information about the ruby-cvs mailing list