Skip to content

Commit

Permalink
force curb to use ipv4 resolve mode
Browse files Browse the repository at this point in the history
refer to taf2/curb#96

Change-Id: I9fdb53989b8ddc69de17240f858f7732c1cb6266
  • Loading branch information
Andrew Liu committed May 23, 2012
1 parent 4336e81 commit 3d04c1a
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 0 deletions.
Binary file modified atmos/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
2 changes: 2 additions & 0 deletions base/lib/base/job/serialization.rb
Expand Up @@ -246,6 +246,8 @@ def fetch_url(url, file_path)

File.open(file_path, "wb+") do |f|
c = Curl::Easy.new(url)
# force use ipv4 dns
c.resolve_mode = :ipv4
# auto redirect
c.follow_location = true
c.max_redirects = max_redirects
Expand Down
Binary file modified filesystem/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified memcached/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified mongodb/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified mysql/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified neo4j/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified postgresql/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified rabbit/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified redis/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified service_broker/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified tools/backup/manager/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.
Binary file modified vblob/vendor/cache/vcap_services_base-0.1.10.gem
Binary file not shown.

0 comments on commit 3d04c1a

Please sign in to comment.