[ruby-cvs:60286] ngoto:r53130 (trunk): * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):

ngoto at ruby-lang.org ngoto at ruby-lang.org
Wed Dec 16 00:26:49 JST 2015


ngoto	2015-12-16 00:26:47 +0900 (Wed, 16 Dec 2015)

  New Revision: 53130

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

  Log:
    * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
      TimeoutMutex should be acquired when accessing @timeout_info.
      To avoid deadlock, interrupt() calls are delayed.
      Due to the mutex, it is safe to treat ary without ary.dup.
      [Bug #11742] [ruby-dev:49387]

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/utils.rb


More information about the ruby-cvs mailing list