1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/webrick/server.rb: Stop lisntner loop properly.

[ruby-core:66085] [Bug #10478] Fixed by Charles Nutter.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-11-05 10:24:53 +00:00
parent 4b8cb23a36
commit a0e4956dce
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Nov 5 19:20:08 2014 Tanaka Akira <akr@fsij.org>
* lib/webrick/server.rb: Stop lisntner loop properly.
[ruby-core:66085] [Bug #10478] Fixed by Charles Nutter.
Wed Nov 5 17:20:29 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/intern.h (rb_disable_super, rb_enable_super): warn

View file

@ -173,7 +173,7 @@ module WEBrick
begin
if svrs = IO.select([shutdown_pipe_r, *@listeners], nil, nil, 2.0)
if svrs[0].include? shutdown_pipe_r
return
break
end
svrs[0].each{|svr|
@tokens.pop # blocks while no token is there.