diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2010-07-25 18:09:33 +0200 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-07-25 22:24:50 -0700 |
commit | 4065e81f76020c29ed8ccfc1cf6c481aa202cb23 (patch) | |
tree | 1d41b7f2ae0739a7db6351f0df0bc8330db15b56 /lib/puppet/util/autoload.rb | |
parent | 3163932f70e824906d48edc9665b4017a4669797 (diff) | |
download | puppet-4065e81f76020c29ed8ccfc1cf6c481aa202cb23.tar.gz puppet-4065e81f76020c29ed8ccfc1cf6c481aa202cb23.tar.xz puppet-4065e81f76020c29ed8ccfc1cf6c481aa202cb23.zip |
Fix race condition in rack autoloading of request/response
Ruby autoloader seems to not be thread-safe. Since rack uses it to lazily
load the Rack::Request and Rack::Response classes, on jruby it fails
if the first compilation is done with multiple concurrent threads.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions