mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/gserver.rb (GServer#start): fix a timing issue. patch from
Charles Nutter. [Bug #7081] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7dc77be299
commit
1d23123c46
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Feb 2 13:00:11 2013 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* lib/gserver.rb (GServer#start): fix a timing issue. patch from
|
||||
Charles Nutter. [Bug #7081]
|
||||
|
||||
Sat Feb 2 12:36:54 2013 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* lib/fileutils.rb (copy_entry, wrap_traverse): preserve attributes of
|
||||
|
|
|
@ -261,7 +261,8 @@ class GServer
|
|||
end
|
||||
}
|
||||
client = @tcpServer.accept
|
||||
@connections << Thread.new(client) { |myClient|
|
||||
Thread.new(client) { |myClient|
|
||||
@connections << Thread.current
|
||||
begin
|
||||
myPort = myClient.peeraddr[1]
|
||||
serve(myClient) if !@audit or connecting(myClient)
|
||||
|
|
Loading…
Add table
Reference in a new issue