lib/active_merchant/connection.rb in activemerchant-1.83.0 vs lib/active_merchant/connection.rb in activemerchant-1.84.0
- old
+ new
@@ -115,11 +115,10 @@
info '--> %d %s (%d %.4fs)' % [result.code, result.message, result.body ? result.body.length : 0, realtime], tag
debug result.body
result
end
end
-
ensure
info 'connection_request_total_time=%.4fs' % [Process.clock_gettime(Process::CLOCK_MONOTONIC) - request_start], tag
http.finish if http.started?
end
@@ -160,10 +159,9 @@
http.ca_file = ca_file
http.ca_path = ca_path
else
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
end
-
end
def configure_cert(http)
return if pem.blank?