fixup()
public
Consumes any remaining body
and updates keep-alive status
Show source
def fixup()
begin
body{|chunk| }
rescue HTTPStatus::Error => ex
@logger.error("HTTPRequest#fixup: #{ex.class} occurred.")
@keep_alive = false
rescue => ex
@logger.error(ex)
@keep_alive = false
end
end