[ruby-cvs:67304] normal:r60123 (trunk): webrick: avoid unnecessary IO#sync= call

normal at ruby-lang.org normal at ruby-lang.org
Fri Oct 6 06:53:54 JST 2017


normal	2017-10-06 06:53:54 +0900 (Fri, 06 Oct 2017)

  New Revision: 60123

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

  Log:
    webrick: avoid unnecessary IO#sync= call
    
    Sockets and pipes are always created with FMODE_SYNC flag
    already set (otherwise many things would be broken).
    
    * lib/webrick/server.rb (accept_client): remove unnecessary
      IO#sync= call

  Modified files:
    trunk/lib/webrick/server.rb


More information about the ruby-cvs mailing list