Project

General

Profile

« Previous | Next » 

Revision ce34a90f

Added by Eric Wong over 10 years ago

lib/webrick/server.rb: avoid redundant fcntl call

Sockets are close-on-exec by default since Ruby 2.0, so it
is redundant to set it again.

  • lib/webrick/server.rb (accept_client): avoid redundant fcntl call
    [Feature #11137]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e