[ruby-cvs:55503] akr:r48353 (trunk): * lib/webrick/server.rb (initialize): Initialize shutdown pipe here

akr at ruby-lang.org akr at ruby-lang.org
Mon Nov 10 08:03:45 JST 2014


akr	2014-11-10 08:03:40 +0900 (Mon, 10 Nov 2014)

  New Revision: 48353

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

  Log:
    * lib/webrick/server.rb (initialize): Initialize shutdown pipe here
      to avoid race condition.
      (cleanup_shutdown_pipe): New private method.
      (cleanup_listener): Extracted from shutdown method.
      Call this method from start method to avoid race condition.

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/server.rb
    trunk/test/webrick/test_server.rb


More information about the ruby-cvs mailing list