Sha256: 8e042943d9f433e4cc66de3caa8dd9fd6dd4c358f54107e52a9d3e088dd2d865

Contents?: true

Size: 321 Bytes

Versions: 148

Compression:

Stored size: 321 Bytes

Contents

use Rack::ContentLength
headers = { 'Content-Type' => 'text/plain' }
run lambda { |env|
  case env['PATH_INFO']
  when "/block-forever"
    Process.kill(:STOP, $$)
    sleep # in case STOP signal is not received in time
    [ 500, headers, [ "Should never get here\n" ] ]
  else
    [ 200, headers, [ "#$$\n" ] ]
  end
}

Version data entries

148 entries across 148 versions & 12 rubygems

Version Path
unicorn-6.1.0 t/heartbeat-timeout.ru
unicorn-6.0.0 t/heartbeat-timeout.ru
unicorn-5.8.0 t/heartbeat-timeout.ru
unicorn-5.7.0 t/heartbeat-timeout.ru
unicorn-5.6.0 t/heartbeat-timeout.ru
unicorn-5.5.5 t/heartbeat-timeout.ru
unicorn-5.5.4 t/heartbeat-timeout.ru
unicorn-5.5.3 t/heartbeat-timeout.ru
rainbows-5.2.1 t/heartbeat-timeout.ru
unicorn-5.5.2 t/heartbeat-timeout.ru
unicorn-5.5.1 t/heartbeat-timeout.ru
unicorn-5.5.0.1.g6836 t/heartbeat-timeout.ru
unicorn-5.5.0 t/heartbeat-timeout.ru
rainbows-5.2.0 t/heartbeat-timeout.ru
unicorn-5.5.0.pre1 t/heartbeat-timeout.ru
unicorn-5.4.1 t/heartbeat-timeout.ru
unicorn-5.4.0 t/heartbeat-timeout.ru
unicorn-5.3.1 t/heartbeat-timeout.ru
unicorn-shopify-5.3.0 t/heartbeat-timeout.ru
rainbows-5.1.1 t/heartbeat-timeout.ru