Permalink
Browse files

added support for SSL options to EM Synchrony adapter

  • Loading branch information...
1 parent 1507503 commit a302f8e734497cf206a9489f4ef00428983623a8 @linden-deploy linden-deploy committed with sferik Feb 20, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/faraday/adapter/em_synchrony.rb
@@ -26,7 +26,8 @@ def call(env)
process_body_for_request(env)
request = EventMachine::HttpRequest.new(URI::parse(env[:url].to_s))
options = {:head => env[:request_headers]}
-
+ options[:ssl] = env[:ssl] if env[:ssl]
+
if env[:body]
if env[:body].respond_to? :read
options[:body] = env[:body].read

0 comments on commit a302f8e

Please sign in to comment.