Patrick Ohly skrev:
On Mo, 2010-02-15 at 08:04 +0000, Ove Kaaven wrote:
> I suppose I might have to hack in something to force IPv4...
Patches welcome ;-}
Surely simple hacks wouldn't be so welcome...?
curl_easy_setopt(handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
While you are at it, note that users have problems verifying
Google's
SSL certificate:
http://talk.maemo.org/showthread.php?t=40278&page=6
There are --disable-ssl-certificate-check and --with-ca-certificates
configure options for this. The latter still depends on users importing
the right certificate - if that works at all.
They can disable the certificate verification from the config file, I'm
not sure I see a reason to explicitly compile out the checking code.
I don't really know how to import certificates, I haven't needed to.
It's probably necessary for people to change the config file to point at
it. Perhaps if someone who actually needs SSL would provide any ideas
about a good default CA certificate path or something.
I'm wondering if it wouldn't be better to link against libsoup rather
than libcurl after all, though I'm not too sure what difference it would
make.