lib/thin/connection.rb
# Does request and response cleanup (closes open IO streams and
# deletes created temporary files).
# Re-initializes response and request if client supports persistent
# connection.
Does request and response cleanup (closes open IO streams and
deletes created temporary files).
Re-initializes response and request if client supports persistent
connection.
Does request and response cleanup ( closes open IO streams and deletes created temporary files ) . Re - initializes response and request if client supports persistent connection .
def terminate_request
      unless persistent?
        close_connection_after_writing rescue nil
        close_request_response
      else
        close_request_response
        post_init
      end
    end
def terminate_request unless persistent? close_connection_after_writing rescue nil close_request_response else close_request_response post_init end end
Does request and response cleanup (closes open IO streams and
deletes created temporary files).
Does request and response cleanup ( closes open IO streams and deletes created temporary files ) .
# Prepare the connection for another request if the client # supports HTTP pipelining (persistent connection).