curl / Mailing Lists / curl-library / Single Mail
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: libcurl LDAP in asyncmod

From: Patrick Monnerat via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 30 Apr 2021 17:17:47 +0200

On 4/30/21 4:58 PM, Fulup Ar Foll via curl-library wrote:
> curl_easy_getinfo(httpRqt->easy, CURLINFO_RESPONSE_CODE,
> &httpRqt->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,
CURLINFO_RESPONSE_CODE is only available for http, ftp and smtp, not for
ldap.

In other words, you can't.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-04-30