Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: pycurl.CONDITION_UNMET missed in do_curl_getinfo

From: Dima Tisnek via curl-and-python <curl-and-python_at_cool.haxx.se>
Date: Thu, 6 May 2021 10:52:14 +0900

Hi Alexei, perhaps you could submit a pull request?

My gut tells me, it's a matter of adding the constant to this list:
https://github.com/pycurl/pycurl/blob/de597481f4ac23e40239c8059a22a1ec522457be/src/easyinfo.c#L134-L163
(as this info is type long) and maybe testing this somehow.

Cheers,
d.

On Thu, 6 May 2021 at 03:28, Alexei Fedotov via curl-and-python
<curl-and-python_at_cool.haxx.se> wrote:
>
> Hi folks,
>
> I tried using .getinfo(pycurl.CONDITION_UNMET) and got "ValueError:
> invalid argument to getinfo". It seems the option is missed in
> do_curl_getinfo at [**]
>
> If this was not intended, could you please fix it?
>
> [**] https://github.com/pycurl/pycurl/blob/e98d0e79aef6b5dad2b98c62f1d6b4e4b8df60fd/src/easyinfo.c
>
> --
> Carry a towel
> http://dataved.ru/
> +7 916 562 8095
>
> [1] Join Alexei Fedotov _at_linkedin, http://ru.linkedin.com/in/dataved/
> [2] Join Alexei Fedotov _at_facebook, http://www.facebook.com/openmeetings
> [3] Start using Apache Openmeetings today, http://openmeetings.apache.org/
> _______________________________________________
> https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
_______________________________________________
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2021-05-06