taf2/curb — Issue #96: Resolve mode of the request is randomly ipv4 or ipv6
Author: tompat
Created: 2011-12-06 10:56:56+00:00
State: open

Hello,

Bug:
Resolve mode of the request is randomly ipv4 or ipv6

Test case:
request a couchbase via a ruby web server using couchbase gem

Code who send the curl request:
method curl_easy of couchbase gem (https://github.com/couchbase/couchbase-ruby-client/blob/master/lib/couchbase/rest_client.rb)

Configuration:
> Ubuntu 10.04
> libcurl13-dev
> curb 0.7.16
> couchbase 0.9.7

Fix:
Set the resolve_mode option of the curl instance to ":ipv4"