Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: lib/mongrel/camping.rb
- ===================================================================
- --- lib/mongrel/camping.rb (revision 430)
- +++ lib/mongrel/camping.rb (working copy)
- @@ -39,7 +39,7 @@
- def initialize(klass)
- @files = Mongrel::DirHandler.new("/",false)
- - @guard = Sync.new
- + @guard = Mutex.new
- @klass = klass
- end
- @@ -49,7 +49,7 @@
- end
- controller = nil
- - @guard.synchronize(:EX) {
- + @guard.synchronize {
- controller = @klass.run(request.body, request.params)
- }
Add Comment
Please, Sign In to add comment