2 require 'unicorn/oob_gc'
3 use Rack::ContentLength
4 use Rack::ContentType, "text/plain"
10 ObjectSpace.each_object(BasicSocket) do |x|
11 next if Unicorn::HttpServer::LISTENERS.include?(x)
12 x.closed? or abort "not closed #{x}"
17 if "/gc_reset" == env["PATH_INFO"] && "POST" == env["REQUEST_METHOD"]
20 [ 200, {}, [ "#$gc_started\n" ] ]