Re: libcurl LDAP in asyncmod

2021-04-30 Thread Daniel Stenberg via curl-library
On Fri, 30 Apr 2021, Fulup Ar Foll via curl-library wrote: + curl_multi_info_read return CURLMSG_DONE Allow me to quote curl_multi_info_read.3: When msg is CURLMSG_DONE, the message identifies a transfer that is done, and then result contains the return code for the easy handle

Re: libcurl LDAP in asyncmod

2021-04-30 Thread Fulup Ar Foll via curl-library
That's not the response I was hoppingh for, but I will do with it. Thank you and have a nice weekend. Fulup On 30/04/2021 17:17, Patrick Monnerat via curl-library wrote: On 4/30/21 4:58 PM, Fulup Ar Foll via curl-library wrote: curl_easy_getinfo(httpRqt->easy, CURLINFO_RESPONSE_CODE,

Re: libcurl LDAP in asyncmod

2021-04-30 Thread Patrick Monnerat via curl-library
On 4/30/21 4:58 PM, Fulup Ar Foll via curl-library wrote: curl_easy_getinfo(httpRqt->easy, CURLINFO_RESPONSE_CODE, >status); return ZERO Question: how to retrieve conection-deny status in asynchronous mode ? From the documentation at https://curl.se/libcurl/c/CURLINFO_RESPONSE_CODE.html,

libcurl LDAP in asyncmod

2021-04-30 Thread Fulup Ar Foll via curl-library
I try to use libcurl for retrieving group list from a user from C/API.  It works both in synchronous and asynchronous, nevertheless in asynchronous mode, status is not position when credential are wrong  in asynchrounous: curl_easy_perform return

extra zero-terminator in SASL Kerberos

2021-04-30 Thread Patrick Monnerat via curl-library
While attempting to implement sasl in openldap, I'm facing with a Kerberos problem. In Curl_auth_create_gssapi_security_message(), a comment says: /* Populate the message with the security layer, client supported receive    message size and authorization identity including the 0x00 based