Method: Thin::Connection#unbind
- Defined in:
- lib/thin/connection.rb
#unbind ⇒ Object
Called when the connection is unbinded from the socket and can no longer be used to process requests.
161 162 163 164 165 |
# File 'lib/thin/connection.rb', line 161 def unbind @request.async_close.succeed if @request.async_close @response.body.fail if @response.body.respond_to?(:fail) @backend.connection_finished(self) end |