[ruby-cvs:55504] akr:r48354 (trunk): * lib/webrick/server.rb (shutdown): Use close() on @shutdown_pipe_w to

akr at ruby-lang.org akr at ruby-lang.org
Mon Nov 10 12:20:07 JST 2014


akr	2014-11-10 12:20:06 +0900 (Mon, 10 Nov 2014)

  New Revision: 48354

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

  Log:
    * lib/webrick/server.rb (shutdown): Use close() on @shutdown_pipe_w to
      notify readability on the read side of the pipe.
      write_nonblock() is not usable for pipe on Windows.
      (cleanup_shutdown_pipe): Rescue IOError for @shutdown_pipe_w.close.

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


More information about the ruby-cvs mailing list