diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-09 23:03:40 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-09 23:03:40 +0000 |
commit | 2a9ea113550c8358788dd1a3f163aba963b28d96 (patch) | |
tree | d26226f60d07337043b0a21af221d458f3eb51a3 /lib/webrick/cookie.rb | |
parent | ef82fcf0674611b4c373dc8497da19d5bc92466a (diff) | |
download | ruby-2a9ea113550c8358788dd1a3f163aba963b28d96.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/cookie.rb')
0 files changed, 0 insertions, 0 deletions