Skip to content
Browse files

[CURB][FIX] Changed resolve_mode to :ipv4 to avoid Curl::Err::HostRes…

…olutionError
  • Loading branch information...
1 parent 9327185 commit 96e96ef1a9f69a4ce91b73077c2c99407b9ff382 @vhyza vhyza committed Dec 12, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/tire/http/clients/curb.rb
View
2 lib/tire/http/clients/curb.rb
@@ -8,6 +8,8 @@ module Client
class Curb
@client = ::Curl::Easy.new
+ @client.resolve_mode = :ipv4
+
# @client.verbose = true
def self.get(url, data=nil)

0 comments on commit 96e96ef

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