HomePhorge

Fix race condition in rack autoloading of request/response
4065e81f7602Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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>

Details

Provenance
Brice Figureau <brice-puppet@daysofwonder.com>Authored on
Markus Roberts <Markus@reality.com>Committed on Jul 26 2010, 7:24 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU3163932f70e8: Fix #4244 - Cached Attributes is not thread safe
Branches
Unknown
Tags
Unknown

Event Timeline

Markus Roberts <Markus@reality.com> committed rPU4065e81f7602: Fix race condition in rack autoloading of request/response (authored by Brice Figureau <brice-puppet@daysofwonder.com>).Jul 26 2010, 7:24 AM