* lib/webrick/utils.rb: Override the inspect method of the thread
used in WEBrick::Utils::TimeoutHandler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
504453d929
commit
9e0b0731ed
@ -1,3 +1,8 @@
|
|||||||
|
Sun May 25 15:26:17 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* lib/webrick/utils.rb: Override the inspect method of the thread
|
||||||
|
used in WEBrick::Utils::TimeoutHandler.
|
||||||
|
|
||||||
Sun May 25 14:22:30 2014 Tanaka Akira <akr@fsij.org>
|
Sun May 25 14:22:30 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/openssl: Join threads.
|
* test/openssl: Join threads.
|
||||||
|
@ -156,6 +156,9 @@ module WEBrick
|
|||||||
def initialize
|
def initialize
|
||||||
@timeout_info = Hash.new
|
@timeout_info = Hash.new
|
||||||
Thread.start{
|
Thread.start{
|
||||||
|
def (Thread.current).inspect
|
||||||
|
super.sub(/>\z/, ' (WEBrick::Utils::TimeoutHandler)>')
|
||||||
|
end
|
||||||
while true
|
while true
|
||||||
now = Time.now
|
now = Time.now
|
||||||
@timeout_info.keys.each{|thread|
|
@timeout_info.keys.each{|thread|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user