[UG] curl error 43 with newer libcurl

Alexander Todorov atodorov at redhat.com
Thu Nov 28 21:29:56 UTC 2013


На 28.11.2013 17:05, Zdenek Pavlas написа:
>> line 1161, in _set_opts
>>       self.curl_obj.setopt(pycurl.SSL_VERIFYHOST, opts.ssl_verify_host)
>> error: (43, '')
>
> This used to be a boolean option (converts to 0/1), but due to a bug
> in libcurl it didn't work.. http://curl.haxx.se/mail/archive-2005-05/0002.html
>
> Newer urlgrabber sets the option to "2".
> http://yum.baseurl.org/gitweb?p=urlgrabber.git;a=commitdiff;h=b6bfd59c
>
>> CURLE_BAD_FUNCTION_ARGUMENT (43) - Internal error. A function was called with
>> a
>> bad parameter.
>
> Maybe setting it to "1" is not supported, and raises an error.
>

Hi Zdenek,
thanks for this pointer. I've applied the patch to set SSL_VERIFYHOST to 2 and 
it appears to work for me.



Who is handling the releases on PyPI? Does this fix warrant a new release ?


Thanks,
Alex


More information about the Yum-devel mailing list