Skip to content
This repository
Browse code

Potential fix for openssl handshake issues between 0.9.8 and 1.x

  • Loading branch information...
commit 340ec58b851ec0ad415bec217ae8a63a6b09e445 1 parent d633033
Jeff Browning authored January 15, 2013

Showing 2 changed files with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 2  VERSION
  2. 1  lib/madmimi.rb
2  VERSION
... ...
@@ -1 +1 @@
1  
-1.0.15
  1
+1.0.16
1  lib/madmimi.rb
@@ -216,6 +216,7 @@ def do_request(path, req_type = :get, options = {}, transactional = false)
216 216
     if transactional == true
217 217
       http = Net::HTTP.new(BASE_URL, 443)
218 218
       http.use_ssl = true
  219
+      http.ssl_version = true
219 220
       http.verify_mode = OpenSSL::SSL::VERIFY_NONE
220 221
     else
221 222
       http = Net::HTTP.new(BASE_URL, 80)

0 notes on commit 340ec58

Please sign in to comment.
Something went wrong with that request. Please try again.