Class: Thin::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/tub/thin_persistent_101.rb

Overview

This is a workaround, and should be removed as soon as Heroku deploys a Thin version that includes some version of github.com/macournoyer/thin/pull/32

Instance Method Summary collapse

Instance Method Details

#old_persistent?Object



29
# File 'lib/tub/thin_persistent_101.rb', line 29

alias :old_persistent? :persistent?

#persistent?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/tub/thin_persistent_101.rb', line 30

def persistent?
  old_persistent? || (@status == 100 || @status == 101)
end